The source generated resolver currently only includes formatters that are themselves source generated.
But it's entirely possible for the source generator to discover all hand-written formatters as well and include them automatically.
This would simplify creating a custom formatter to just declaring a class, and no custom resolver would have to be written to add it to the set of formatters that can be used during serialization.
The source generated resolver currently only includes formatters that are themselves source generated.
But it's entirely possible for the source generator to discover all hand-written formatters as well and include them automatically.
This would simplify creating a custom formatter to just declaring a class, and no custom resolver would have to be written to add it to the set of formatters that can be used during serialization.