-
Notifications
You must be signed in to change notification settings - Fork 3
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(sync): bump go-kong + fill auto fields with nil #139
Conversation
Fill auto fields with nil in the config sent to the CP. The rest of the default values are still not filled in the configuration that is sent out, as they are meant to be filled by the CP itself, but auto fields should not be generated, to ensure the configuration remains truly "declarative".
2b89ba7
to
fdbf4dc
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #139 +/- ##
==========================================
- Coverage 29.97% 29.96% -0.01%
==========================================
Files 106 106
Lines 12581 12583 +2
==========================================
Hits 3771 3771
- Misses 8350 8352 +2
Partials 460 460 ☔ View full report in Codecov by Sentry. |
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.
I still do not think this is good to have.
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.
With a slight disagreement, ;-), I approve this.
Summary
bump go-kong to 0.59.0
use go-kong utils to fill auto fields with nil in the config sent to the CP.
The rest of the default values are still not filled in the configuration that is sent out, as they are meant to be filled by the CP itself.
Full changelog
Issues resolved
https://konghq.atlassian.net/browse/KAG-5317
Documentation
Testing