-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(degraphql): handle multiple parameter types when converting query…
… parameters (#9911) After the query parameters of the graphql are parsed into AST, there are three types: listType, nonNullType, and namedType. Are their structures different, so the way of obtaining variable types from the structure is also different. This PR is compatible with different structures for obtaining variable types. Fix FTI-6153
- Loading branch information
1 parent
8342ccb
commit 8d7f501
Showing
3 changed files
with
64 additions
and
2 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
changelog/unreleased/kong-ee/plugins-degraphql-handle-variable-type.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
message: "**degraphql**: Fixed an issue where multiple parameter types were not handled correctly when converting query parameters." | ||
type: bugfix | ||
scope: Plugin |
This file contains 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
This file contains 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