Aryan Iyappan
SGStrawberry GraphQL
•Created by Aryan Iyappan on 6/28/2024 in #đŸ¤”questions
relay.GlobalID naming issue?
29 replies
SGStrawberry GraphQL
•Created by Aryan Iyappan on 6/27/2024 in #đŸ¤”questions
Should I use dataloaders in relay.Node.resolve_nodes?
I've got a node type like this:
Should I be using dataloaders to resolve my nodes here?
If so, should I use a separate dataloader when required=False
and a separate dataloader when required=True?
Or am I completely wrong and should I just use my repository layer directly here?
7 replies
SGStrawberry GraphQL
•Created by Aryan Iyappan on 6/22/2024 in #đŸ¤”questions
AioInject errors while overriding resolve_connection method (relay)
I wanted to create my own relay connection class like so:
I get this mypy error which shows an error in the method signature:
How could this be fixed? I need to get my session within the resolver
12 replies
SGStrawberry GraphQL
•Created by Aryan Iyappan on 11/12/2022 in #đŸ¤”questions
descriptions for arguments
Is there any way to add descriptions to arguments currently? I think it's a drawback that we cannot add stuff like deprecated directives and descriptions to arguments just because we use typehints.
Instead of this, does python support something like:
That would be cool
11 replies