-
Notifications
You must be signed in to change notification settings - Fork 47
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
Errors with some characters in multi-line body strings #79
Comments
I think we could change the behavior of how the YAML strings are parsed in this line Line 61 in 5c012a1
if |
I think that sounds reasonable. Are you basically just forgoing |
yes, that's the idea
🤷🏼 this might get pretty complex pretty quick, hm? I don't know what the best approach could be. Maybe for the time being we should at least document the workaround using two |
Agreed -- I don't have too much experience with yaml, but maybe there's a yaml library that can report the data type for a value?
Sounds good to me. |
could you send a PR? I can do it myself, eventually, but would appreciate the help |
Added #81. Not sure if I totally understand why the behavior is the way it is, or what exactly the intended happy-path is with regards to property values (json or yaml?), but I think these examples should help with getting things working. |
resolved with #81 |
Passing a multi-line
body
sometimes produces an error depending on the contents of the string. Here are a few of the errors I've encountered:Asterisks
produces
Colon
produces
One workaround is to double-pipe the body as mentioned in #6 (comment).
The text was updated successfully, but these errors were encountered: