-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[typescript-angular] fix: correctly serialize query params objects #20850
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
[typescript-angular] fix: correctly serialize query params objects #20850
Conversation
joscha
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a test fixture that shows the serialization before and after these changes (one that would have caught this regression in the first place)?
|
@joscha I don't really understand how/if this can be archived. The serialization happens in the (generated) TS code - all tests are Java tests. To really test this, we'd need to run TS tests on the generated code? Any other things I miss? |
|
@daniel-sc merging this fix now, the tests can be done separately |
|
@macjohnny Ok - can you point me to the place where these tests are run during CI? |
|
openapi-generator/CI/circle_parallel.sh Lines 86 to 93 in 7f40ce0
|
agreed, thank you for the fix @daniel-sc |
|
@macjohnny one more thing about the integration tests - doesn't openapi-generator/CI/circle_parallel.sh Line 71 in 7f40ce0
|
|
@daniel-sc interesting finding, yes it seems some tests are actually failing. @wing328 i guess this should fail the CI, but currently it doesn't. can you take a look? |
|
Not sure why I added I filed #20870 and looks like the CircleCI node 3 is correctly reporting the errors. |
fixes #20799 (was introduced with #20681)
@TiFu @taxpon @sebastianhaas @kenisteward @Vrolijkx @macjohnny @topce @akehir @petejohansonxo @amakhrov @davidgamero @mkusaka @joscha please review :)
PR checklist
Commit all changed files.
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*.IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
master(upcoming7.x.0minor release - breaking changes with fallbacks),8.0.x(breaking changes without fallbacks)