Skip to content
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

Fixed issue #130 Default Parameter Values when JSON value is null #259

Merged
merged 1 commit into from
Oct 26, 2019
Merged

Fixed issue #130 Default Parameter Values when JSON value is null #259

merged 1 commit into from
Oct 26, 2019

Conversation

NumezmaT
Copy link
Contributor

Using Kotlin Default Parameter Values when JSON value is null and Kotlin parameter type is Non-Nullable #130

In this case, paramDef.isOptional returns true if we have default parameters. Then we do not set null to these parameters, we have to use the default values.

@cowtowncoder cowtowncoder merged commit 34f5f8d into FasterXML:master Oct 26, 2019
@cowtowncoder
Copy link
Member

Ok, change is in a very long and quite complicated method, but since there is a unit test I trust it works as expected :)

Thank you for contributing this!

@sdelicata
Copy link

Any idea of the next release date ?

@cowtowncoder
Copy link
Member

No fixed date, but I hope to release 2.10.1 within next 2 weeks or so: many fixes, just want to optimize to include all fixes in-flight.

@apatrida anything to include from kotlin side, before 2.10.1? It's one of components I want to sync with; the other being some module-info cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants