-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CoercionConfigs (2.12): make existing coercions configurable #2750
Labels
coercion-config
Issue related to 2.12 added "CoercionConfig"
Comments
Just to seed discussion, here are some thoughts:
Some existing tickets that seem relevant too:
Finally, I added |
cowtowncoder
added
the
coercion-config
Issue related to 2.12 added "CoercionConfig"
label
Jun 8, 2020
cowtowncoder
changed the title
2.12, CoercionConfigs: existing coercions to make configurable (placeholder)
2.12, CoercionConfigs: make existing coercions configurable
Jun 10, 2020
Implemented, at least:
This leaves
|
Implemented "Empty String" coercion checks for Joda and Java 8 date-time types. Will need to add one new coercion config check wrt Enums but will file separate issue for that. |
cowtowncoder
changed the title
2.12, CoercionConfigs: make existing coercions configurable
CoercionConfigs (2.12): make existing coercions configurable
Oct 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now that #2113 -- core system for configuring allowed coercions -- has been implemented, what is needed next is to change actual deserializers to make use of configuration. This mostly covers existing implicitly allowed coercions (or possibly, blocked). So far existing changes cover:
StdDeserializer
, or deserializers that extend it).String
coercion into primitives (mostly numbers, but also booleans/Booleans).but most other things are not yet checked.
I created this placeholder issue to allow users to comment; I will likely create separate issues for individual deserializer changes (or some grouping of those).
The text was updated successfully, but these errors were encountered: