Skip to content

Conversation

@sportnak5
Copy link
Contributor

forgot to import Operations

@sportnak5 sportnak5 requested a review from dsnam October 8, 2025 14:38
'id': id,
})
try:
op = self._gql_client.query.get_dynamic_layout
Copy link
Contributor

@dsnam dsnam Oct 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this still work as expected? This is no longer using the generated operation created from the layouts.gql file. sometimes sgqlc does the magic thing and just requests all the fields when you don't specify anything, but this may end up with an empty query, can't remember which.

If you use what gets put into sdk_operations.Operations by the code gen those are already baked operations with all the operation.field_name() calls made for you by the code gen. If you use the query or mutation operation starters off the client you are starting from scratch.

@sportnak5 sportnak5 merged commit e91eacc into main Oct 8, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants