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
It might be possible, but it's not currently implemented. I'd also be concerned with how unpredictable it might be. If one of the nested records does not have a Generic instance, should recursive override fail to compile? Should it succeed but ignore that record? There are likely lots of questions and edge cases that need to be accounted for first. I am open to suggestions and PRs, although for the latter it's better to discuss the approach first.
Is it possible to override
ToJSON
for all fields in nested records?ghci:
I want
x
to become zero too.The text was updated successfully, but these errors were encountered: