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
This does seem like it should be expected behaviour but I don't know if there's anywhere in documentation saying that this is the expected behaviour. It seems to me that there should/could be some sort of setting that enables this globally.
I agree with @jaitaiwan, if we want to mimic the behavior of other go standard packages like json, unexported fields are to be ignored. A flag can help maintain backward compatibility, to avoid breaking things. @limpo1989 are you willing to submit a PR?
Is there an existing issue for this?
Current Behavior
create a structInfo but the always inculde unexported field
schema/cache.go
Lines 129 to 139 in 5fca2dc
Expected Behavior
create a structInfo but the skip unexported field
Steps To Reproduce
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: