bug: Function query_gql_query
doesn't take into account client config
#236
Labels
priority/2
This issue stalls work on the project or its dependents, it's a blocker for a release
state/backlog
This issue is part of the backlog
type/bug
Something isn't working as expected
Component
Python SDK
Infrahub SDK version
1.1.0
Current Behavior
When running
query_gql_query
function I need to explicitly specify the branch otherwise it runs the query on main. This is particularly impacting generator/transform part where the client is configured to run on a branch.Expected Behavior
I expect infrahub to run the graphql query toward the branch setup in
self.client
Steps to Reproduce
Create a Graphql query and run it from the SDK
Additional Information
Maybe other client functions might be impacted ...
The text was updated successfully, but these errors were encountered: