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
If I understand correctly, Codec Builder looks for a constructor, and then looks for fields/getters matching that constructor. However if the class also has an empty constructor, it will generate a unit codec instead.
It would be nice if there was a way to select which constructor it should use for making the codec. Some popup or something, similar to the "generate override" dialog? Maybe asking for too much. :P
The text was updated successfully, but these errors were encountered:
If I understand correctly, Codec Builder looks for a constructor, and then looks for fields/getters matching that constructor. However if the class also has an empty constructor, it will generate a unit codec instead.
It would be nice if there was a way to select which constructor it should use for making the codec. Some popup or something, similar to the "generate override" dialog? Maybe asking for too much. :P
The text was updated successfully, but these errors were encountered: