-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Go SDK parses response by result type
Currently go sdk model generation doesn't support union type for responses like RunQuery. So we cannot parse according to Content Type Header. For now, parse based off model type. We need to update sdk model generation to use interface{} for union types, and then use Content Type Header to parse response accordingly. This will break downstream dependencies. - Added additional integration tests around queries looks and dashboards. - Parse response based of type defined in go sdk models, the result type - Added unit tests - Return error body in addition to error status code.
- Loading branch information
1 parent
a9f62bb
commit 07f3a17
Showing
3 changed files
with
532 additions
and
4 deletions.
There are no files selected for viewing
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
Oops, something went wrong.