-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[dart][dio][built_value] Fix missing serializer factory builders for additionalProperties #11011
[dart][dio][built_value] Fix missing serializer factory builders for additionalProperties #11011
Conversation
does dart-dio-next also have this? |
23ff831
to
aeda26e
Compare
…additionalProperties Refactor the addition of custom serializer factories.
aeda26e
to
6292305
Compare
It is only in dart-dio-next. |
oh I was wondering why I wasn't reproducing this and I forgot I fixed it in my version and apparently #10189 is still not solved ? |
@ahmednfwela We already have the handling for response and parameter types, I just improved it to handle nullability. |
but why is Edit: this gets assigned automatically by default codegen https://github.com/Bdaya-Dev/openapi-generator/blob/master/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java#L3813 |
See #6951 (comment) This can also be a |
yes, but why check for |
Well for normal properties this is automatically generated. |
I see now what you mean, but this is not recursive, so it won't solve |
Correct |
…additionalProperties
Refactor the addition of custom serializer factories.
Should fix #6951
Should fix #10465
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*
.For Windows users, please run the script in Git BASH.
master
(5.3.0),6.0.x
CC @jaumard (2018/09) @josh-burton (2019/12) @amondnet (2019/12) @sbu-WBT (2020/12) @kuhnroyal (2020/12) @agilob (2020/12) @ahmednfwela (2021/08)