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
or, you should have been able to do this, but there'd been bug preventing this usage (fixed in c3bbdeb). I personally prefer this in case you do not have many no-flats . In case where, say, most of what you serialize should be no-flat I think that we should add a trait which simply changes the preference. The problem with annotation like @noflat you added in #10 is that it couples JSON rendering with model definition, akin to slick's @MappedTo . But, I think it is worthy addition nonetheless, especially for people that do not object to this coupling, so we'll merge this PR as well.
The following test case:
Gives error:
The text was updated successfully, but these errors were encountered: