-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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(correlation-id): auto-complete config.generator when constructing if it is null
in database
#13439
Merged
+190
−2
Conversation
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
github-actions
bot
added
core/db
schema-change-noteworthy
cherry-pick kong-ee
schedule this PR for cherry-picking to kong/kong-ee
labels
Aug 1, 2024
liverpool8056
force-pushed
the
fix-correlationID-generator-null
branch
2 times, most recently
from
August 1, 2024 03:36
d0452be
to
740a9c9
Compare
ms2008
reviewed
Aug 1, 2024
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.
null
means "don't use the default" in Kong
This is a feature, not a bug. See #9466 (comment) for details.
config.generator=null in database FTI-6134
liverpool8056
force-pushed
the
fix-correlationID-generator-null
branch
from
August 1, 2024 13:28
740a9c9
to
e3356d9
Compare
liverpool8056
changed the title
fix(db.schema): auto-complete fields which are specified as json.null
fix(correlation-id): auto-complete config.generator when constructing if it is Aug 1, 2024
null
in database
ms2008
reviewed
Aug 2, 2024
ms2008
approved these changes
Aug 5, 2024
catbro666
reviewed
Aug 6, 2024
tzssangglass
reviewed
Aug 6, 2024
ms2008
approved these changes
Aug 7, 2024
tzssangglass
approved these changes
Aug 7, 2024
catbro666
approved these changes
Aug 7, 2024
ms2008
reviewed
Aug 7, 2024
changelog/unreleased/kong/fix-correlation-id-config-generator.yml
Outdated
Show resolved
Hide resolved
Co-authored-by: Yufu Zhao <ms2008vip@gmail.com>
Successfully created cherry-pick PR for |
oowl
pushed a commit
that referenced
this pull request
Aug 15, 2024
… if it is `null` in database (#9886) * fix(correlation-id): make `generator` a required field to prevent it from being set to `null` (#13439) Some fields in the request body to admin api occasionally are specified as `json.null`. In this PR, we add `required=true` to the schema of the field so that it can be auto-completed with the default when construction if it is `null` in database. It will become a mandatory field in KM. (cherry picked from commit 166f465) * add copyright header --------- Co-authored-by: Robin Xiang <liverpool8056@163.com>
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
plugins/correlation-id
schema-change-noteworthy
size/L
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.
Summary
Some fields in the request body to admin api occasionally are specified as
json.null
.In this PR, we add
required=true
to the schema of the field so that it can be auto-completed with the default when construction if it isnull
in database. It will become a mandatory field in KM.Checklist
changelog/unreleased/kong
orskip-changelog
label added on PR if changelog is unnecessary. README.mdIssue reference
FTI-6134