forked from apple/swift-openapi-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
address change request #1
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
Closed
alephao
wants to merge
11
commits into
kstefanou52:feature/deep_object_style
from
alephao:feature/deep_object_style
Closed
address change request #1
alephao
wants to merge
11
commits into
kstefanou52:feature/deep_object_style
from
alephao:feature/deep_object_style
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Motivation The runtime changes for: apple/swift-openapi-generator#259 ### Modifications Added `deepObject` style to serializer & parser in order to support nested keys on query parameters. ### Result Support nested keys on query parameters. ### Test Plan These are just the runtime changes, tested together with generated changes.
This breaks the tests since the implementation is not correct
This makes URISerializer tests pass again, but breaks URICodingRoundtrip
add a preconditionFailure to a serialzieArray when style is deepObject. That code should not be reachable
### Motivation The runtime changes for: apple/swift-openapi-generator#259 ### Modifications Added `deepObject` style to serializer & parser in order to support nested keys on query parameters. ### Result Support nested keys on query parameters. ### Test Plan These are just the runtime changes, tested together with generated changes.
28265a7
to
c2ab707
Compare
- using percent-encoded instead of plus for deepObject configuration - throw errors for invalid state deepObject + explode=false - add oai spec url to deepObject case doccomment
…ature/deep_object_style
c2ab707
to
76951d7
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello @kstefanou52, this pull request addresses the change requests pending in your pull-request to the main repo apple#100