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
Does it is possible to set default context when building the serialiser?
Intent: For all our models, we want force serialization of null properties. Right now, we must pass a context object in each of our controllers. For instance:
See here the setDefaultSerializationContext() method which is not provided ATM. This should be the default context which could be overridden by passing a context explicitely when serializing data.
Thanks you.
The text was updated successfully, but these errors were encountered:
Hello ;
Does it is possible to set default context when building the serialiser?
Intent: For all our models, we want force serialization of null properties. Right now, we must pass a context object in each of our controllers. For instance:
Since we want such context for every serialization process, we would be able to do something like this in our Serializer service factory:
See here the setDefaultSerializationContext() method which is not provided ATM. This should be the default context which could be overridden by passing a context explicitely when serializing data.
Thanks you.
The text was updated successfully, but these errors were encountered: