-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[elm] Add toString for all types #3983
Conversation
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
@wing328 please do not approve yet. This adds undesired quotes to string types. Need to fix that first. |
e2d80af
to
5b765fa
Compare
@andys8 can you give this PR a try? |
Is this branch published, so it's possible to execute it directly via |
@Agraphie just pushed some fixes. Can you try again? |
@eriktim looks good to me. I tried it with the minimal example seen above as well as with our project and there aren't any compiler errors. Thanks! |
@wing328 can you have a look at the errors? They seem unrelated to my PR. This should be good to go. |
Agreed these errors are not related to your PR (some have been fixed in the master already) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI failure not related to this PR. (the ruby issue addressed in the master already)
@eriktim thanks for the PR, which has been included in v4.2.0 release: https://twitter.com/oas_generator/status/1189824932345069569 |
PR checklist
./bin/
to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.sh
,./bin/openapi3/{LANG}-petstore.sh
if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in.\bin\windows\
. If contributing template-only or documentation-only changes which will change sample output, be sure to build the project first.master
,4.1.x
,5.0.x
. Default:master
.Description of the PR
Fix #3959 by adding support for any type as a parameter (and exposing a
toString
for types so each can be serialized)