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

Fix null value handling in OpenApiAnyFactory. #2102

Closed

Conversation

djjsdtc
Copy link

@djjsdtc djjsdtc commented Apr 22, 2021

When fixing bool value parsing issue (#2092) I found that my changes to the code did not handle the null value in json correctly, and if there is null values, it will crash the whole parsing process. Also, my test case did not cover this situation.

Here is my additional fix for handling null values, with modified test cases covering this. Please feel free to let me know if you have any suggestions or additional changing requirements.

@djjsdtc djjsdtc changed the title Fix null value handling. Fix null value handling in OpenApiAnyFactory. Apr 22, 2021
@domaindrivendev
Copy link
Owner

I believe this is already fixed by #2151. If not, please create a new issue describing the problem complete with exact repro steps.

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.

None yet

2 participants