-
Notifications
You must be signed in to change notification settings - Fork 39
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
feat: add Client.ReloadDeclarativeConfig() #252
Conversation
Codecov ReportBase: 53.31% // Head: 52.85% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #252 +/- ##
==========================================
- Coverage 53.31% 52.85% -0.46%
==========================================
Files 46 47 +1
Lines 4183 4255 +72
==========================================
+ Hits 2230 2249 +19
- Misses 1478 1525 +47
- Partials 475 481 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
528d319
to
2c804b0
Compare
9ae24cc
to
d512014
Compare
d512014
to
535869c
Compare
b98c50c
to
7314713
Compare
7314713
to
3e8fc96
Compare
This PR adds possibility to send declarative configs to Kong via
/config
.It also makes
Client.NewRequestRaw()
more "flexible" ( I guess? ) by checking the type of the accepted argument and callsjson.Marshal()
only when the provided argument is notstring
,[]byte
orio.Reader
.Unfortunately we cannot accept proper types as parameters because deck already imports go-kong so using e.g.
KongRawState
orfile.Content
is not possible because that would cause a circular dependency.