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
{{ message }}
Repository navigation
Add an extension point for FormatSchema auto-assignment based on type #1582
Since many dataformat backends require specifying of a FormatSchema -- at least Avro, CSV, Protobuf and (Java) Properties do -- and since in most cases there is a way to either generate a schema from type definitions, or perhaps fetch it from an external repository, it would make since to allow plugging of such resolvers. It may also make sense to offer default implementations for simple cases, like POJO-based generation.
Such functionality would be especially useful for use cases where ObjectMapper can be configured and passed as configuration: for example to use with JAX-RS message body reader/writer provider. While ability to pass ObjectReader/ObjectWriter instead would work around the issue, sometimes passing factory (that ObjectMapper basically is) works better.
Activity
guidomedina commentedon Mar 30, 2017
Fixes FasterXML/jackson-dataformat-protobuf#15
cowtowncoder commentedon Feb 8, 2026
No concrete plans on what this might mean, closing. May be re-opened with a plan.