You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add more detailed information to unmarshalling errors, such as the struct instance and the name of the field where the error occurred. Would you be interested in such a PR?
How would be better to implement this?
Pass additional info in Lexer methods, like out.Value = in.String(out, "Value")
Add properties with current handling instance and field, to Lexer and set them before literals parsing, like
Hi there.
I want to add more detailed information to unmarshalling errors, such as the struct instance and the name of the field where the error occurred. Would you be interested in such a PR?
How would be better to implement this?
out.Value = in.String(out, "Value")
I would prefer the third one.
The text was updated successfully, but these errors were encountered: