elsa-workflows / elsa-workflows/elsa-core
Serialization Handling
- Dominant language
- C#
- Stars
- 7.9k
- Forks
- 1.5k
- Avg merge
- 15h 22m
- Merged PRs (30d)
- 114
Description
Hi - as discussed on github:
"We already do it in the form of the workflow context API. There's no reason not to do something similar for the serialization process.
Where you basically register a serialization handler for certain types. When the serializer encounters this type, it calls out to your handler, which returns e.g. some ID. And when deserializing, your handler loads the object from wherever it is stored."
currently i replaced the IContentSerializer - and added my custom Converters - but i'm curious if there is an better way? I see i many places the static DefaultContentSerializer.CreateDefaultJsonSerializationSettings is used?
Contributor guide
Assessment
This issue has not been assessed yet.