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
@laimis17 This is a limitation of Codable synthesis, rather than a problem with MessagePackEncoder. You'll get the same behavior with JSONEncoder. See this thread for more information. I've made a note to myself to discuss this in the next update to the book.
This is regarding chapter 7 playground MessagePackEncoder.
Where's my class info 🙂 ?
Only superclass keys are encoded...
Expected Boeing class engine key to be encoded.
both playground and this code encodes same keys:
Playground(struct) code:
My code:
The text was updated successfully, but these errors were encountered: