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 would be great it we could by-pass the serializer so we can unmarshal (manually) a specific struct, and not a generic map.
Or, provide the struct as payload so the serializer could use this instance.
For simplicity, I would prefer the second option.
For flexibility, the first one: we could receive a payload that is schema-less (a webhook for example) and depending of its type (defined by a keyword or composite information), unmarshal a specific struct.
If you have further question, don't hesitate to ask.
Cheers,
The text was updated successfully, but these errors were encountered:
Hello 👋,
It would be great it we could by-pass the serializer so we can unmarshal (manually) a specific
struct
, and not a genericmap
.Or, provide the
struct
as payload so the serializer could use this instance.For simplicity, I would prefer the second option.
For flexibility, the first one: we could receive a payload that is schema-less (a webhook for example) and depending of its type (defined by a keyword or composite information), unmarshal a specific
struct
.If you have further question, don't hesitate to ask.
Cheers,
The text was updated successfully, but these errors were encountered: