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
In my main app, we've made all of our serializers structs; however, since we're currently using GraphQL, they're not quite the same as the default Lucky serializer
We've had these as a struct for at least 2 years with no issues (that I'm aware of). My thought is that a serializer is basically read-only. There's not really a time I can think of where you would want to alter the structure and pass it around all over the place. This may make a big difference in larger APIs. Does anyone have any thoughts on for or against? This would obviously be a fairly large breaking change that couldn't be backwards compatible.
The text was updated successfully, but these errors were encountered:
In my main app, we've made all of our serializers structs; however, since we're currently using GraphQL, they're not quite the same as the default Lucky serializer
lucky/src/lucky/serializer.cr
Line 3 in 5607fe6
We've had these as a
struct
for at least 2 years with no issues (that I'm aware of). My thought is that a serializer is basically read-only. There's not really a time I can think of where you would want to alter the structure and pass it around all over the place. This may make a big difference in larger APIs. Does anyone have any thoughts on for or against? This would obviously be a fairly large breaking change that couldn't be backwards compatible.The text was updated successfully, but these errors were encountered: