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 GenericSerializationVisitor throws an exception when trying to add a data field that already exists. This makes it impossible to change existing data for serialization purposes.
My use-case is that my entities store relative file URLs, and during serialization I would like to prepend them with the current host name.
My current workaround is to use the PreSerialize event to temporarily update the field on the entity, but that seems hackish and has limits.
The text was updated successfully, but these errors were encountered:
The GenericSerializationVisitor throws an exception when trying to add a data field that already exists. This makes it impossible to change existing data for serialization purposes.
My use-case is that my entities store relative file URLs, and during serialization I would like to prepend them with the current host name.
My current workaround is to use the PreSerialize event to temporarily update the field on the entity, but that seems hackish and has limits.
The text was updated successfully, but these errors were encountered: