Skip to content

How to change a property's data type (a data type alias) #80

Closed Answered by mythz
youssefbennour asked this question in Q&A
Discussion options

You must be logged in to vote

You should avoid saving unknown types like object as serialization libraries won't know what Type to deserialize back into without embedding non-standard type info in the serialization wire format which isn't supported by most serializers.

I'd recommend either saving the concrete Complex Type which will be de/serialized by the RDBMS registered Complex Type Serializer or if you want to serialize unknown payloads serialize it as a string and have your App handle what unknown type to deserialize it back into.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by youssefbennour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants