-
Notifications
You must be signed in to change notification settings - Fork 117
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
issue 58 - NUMBER_INT should be specified when deserializing LocalDate as EpochDays #139
Conversation
Needs a 'strict' test. |
Looks good -- I'll add some comments on adding |
...rc/main/java/com/fasterxml/jackson/datatype/jsr310/deser/JSR310DateTimeDeserializerBase.java
Show resolved
Hide resolved
...rc/main/java/com/fasterxml/jackson/datatype/jsr310/deser/JSR310DateTimeDeserializerBase.java
Outdated
Show resolved
Hide resolved
Quick question: this is against |
Cool, thanks for review. I'll make requested changes tonight. I have been going to upstream/master more out of habit, but I can certainly create PR against 2.10 if tonight CST is ok. One thing I need to figure out, to improve test, is how to send two config overrides, quick Google search and JavaDoc didn't reveal the technique, so I was thinking of creating a small test class and adding annotation there, which I've seen in other tests. |
Ok, I think I did config overrides in a test yesterday. Method is different between 2.10 and 3.0, due to rewrite, but 2.10 does have builder-based approach now too I think. Having said that, annotation is fine too of course. |
I'll close this and create a PR for 2.10 instead. The annotation worked, for some reason the override was overriding the override, but I see it works for the property settings (just the .with(), so it's possible I need to call the 'with all config overrides' method or something like that. |
As per my email comments, rebase for |
@cowtowncoder Ok if I keep this one as-is, since it's ready, and then I will backport to 2.10? |
Quick note: I just created So, merge to |
fix for issue #58 NUMBER_INT should be specified when deserializing LocalDate as EpochDays (unless lenient)