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
Currently, the SDK has its own internal instance of NewtonsoftJsonSerializer with hardcoded serializer options configured. This makes it impossible to manipulate the behaviour of (de-)serialized xp objects.
There are a few possible options to address this:
use ISerializer instance from DI container (but this possibly interferes with use of OrderCloudContractResolver)
use internal serializer for OrderCloud objects, but allow custom ISerializer implementation to be used with xp objects, defaulting to the internal if one is not configured
The text was updated successfully, but these errors were encountered:
Currently, the SDK has its own internal instance of
NewtonsoftJsonSerializer
with hardcoded serializer options configured. This makes it impossible to manipulate the behaviour of (de-)serialized xp objects.There are a few possible options to address this:
ISerializer
instance from DI container (but this possibly interferes with use ofOrderCloudContractResolver
)ISerializer
implementation to be used with xp objects, defaulting to the internal if one is not configuredThe text was updated successfully, but these errors were encountered: