-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
MarshalYAML doesn't call MarshalYAML on returned value #134
Comments
Interested in offering a patch for this? |
I am interested in getting this fixed too. +1 |
I'd love to do a patch but there are at least 10 things that I need to do more than this that I know no-one else is ever going to do... Perhaps on a flight sometime, unless I find this bug blocking some other task. |
Why |
We ran into this. Is this something you'd consider a bug or just inaccurate documentation? |
The expectation sounds reasonable, so tastes more like a bug than desired behavior. I'm about to release v3 publicly, which is a good chance to get this fixed as it might break compatibility otherwise. I'll look into this. |
This is fixed in v3. Will close the issue once v3 is announced. |
According to the source, this should be solved at least in v3. |
I'm using v3 and MarshalYAML is still no called. |
From reading the docs, I'd expect the following example to print "something",
but it prints
"y": 99
instead.The text was updated successfully, but these errors were encountered: