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
The default serializer could support serializing an Action with type'application/json'. The resulting serialization would be a JSON object whose entries are the name-value pairs from each Field in the Action.
Alternatively, the fields could simply be sent as is (as an array), but that scenario seems less desirable since the field's may contain a lot of metadata that the server does not need.
The text was updated successfully, but these errors were encountered:
Reorganize non-core types into separate folder.
Refactor `SerializeFn` to be generic.
Refactor default serializer internals to support JSON serializer.
Resolves#27
The default serializer could support serializing an
Action
withtype
'application/json'
. The resulting serialization would be a JSON object whose entries are thename
-value
pairs from eachField
in theAction
.For example, these fields:
would serialize as:
Alternatively, the fields could simply be sent as is (as an array), but that scenario seems less desirable since the field's may contain a lot of metadata that the server does not need.
The text was updated successfully, but these errors were encountered: