v2: Backport new QueryRaw function#250
Merged
Merged
Conversation
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com> (cherry picked from commit a53e4a5)
This allows both the internal client code and externals that use the raw methods to parse the response from the API. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com> (cherry picked from commit b689021)
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com> (cherry picked from commit a4af3e5)
Allow sending a query and getting the raw response. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com> (cherry picked from commit 56fbaa7)
Contributor
|
Needs a rebase now :) |
Allow sending a query and getting the raw response. Externals can use the response.ParseResponse func to both access the raw response but still parse it as usual. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com> (cherry picked from commit 057ddc2)
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com> (cherry picked from commit 883da01)
b8cc3b0 to
0c93727
Compare
Contributor
Author
Thanks, done. |
masnax
approved these changes
Sep 9, 2024
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
See #249