-
Notifications
You must be signed in to change notification settings - Fork 147
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
Parse quoted values as strings #116
Comments
Currently there is no API to change the parsing result with or without quotation marks. |
As I confirmed the behavior of PyYAML, it seems to be a bug that Yams guesses the type ignoring quotes. |
Fantastic, thank you @norio-nomura! 😄 |
Is it possible to configure Yams to parse a quoted value (single or double quotes) as a string, instead of trying to convert to an assumed Swift type?
I know it's possible to use an explicit type tag as a workaround, but it would be nice to be able to just quote a value which I thought is the standard way of specifying strings in yaml.
This would fix yonaskolb/XcodeGen#268
The text was updated successfully, but these errors were encountered: