Skip to content
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

fix(schema): schema validation to handle potential nil field case #13861

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

tzssangglass
Copy link
Member

@tzssangglass tzssangglass commented Nov 12, 2024

Summary

Adjusted schema validation logic to account for nil field scenario, ensuring proper handling of fields to prevent errors.

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix:FTI-6336

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>
apply comments

Co-authored-by: Keery Nie <windmgc@gmail.com>
@ms2008 ms2008 merged commit 9ce1b9d into master Nov 13, 2024
28 checks passed
@ms2008 ms2008 deleted the FTI-6336 branch November 13, 2024 04:27
@team-gateway-bot
Copy link
Collaborator

Successfully created cherry-pick PR for master:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee core/db schema-change-noteworthy size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants