-
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(schema): schema validation to handle potential
nil
field case (#…
…13861) Adjusted schema validation logic to account for `nil` field scenario, ensuring proper handling of fields to prevent errors. Fix:[FTI-6336](https://konghq.atlassian.net/browse/FTI-6336) --------- Signed-off-by: tzssangglass <tzssangglass@gmail.com> Co-authored-by: Keery Nie <windmgc@gmail.com>
- Loading branch information
1 parent
a6dceee
commit 9ce1b9d
Showing
3 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
changelog/unreleased/kong/fix-schema-validation-with-nil-field.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: "Fixed a 500 error triggered by unhandled nil fields during schema validation." | ||
type: bugfix | ||
scope: Core |
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
9ce1b9d
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.
Bazel Build
Docker image available
kong/kong:9ce1b9d2a656632efa660aa5a572322688e946f8
Artifacts available https://github.com/Kong/kong/actions/runs/11810637754