Skip to content

Example Relay connection #535

Answered by patrick91
jkimbo asked this question in Show and tell
Oct 27, 2020 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

I like how use used make_dataclass! This might be a good approach for dynamic type generation 😊

Have you seen generic types? For relay connection and edges they might be a good solution: https://github.com/strawberry-graphql/strawberry/blob/master/tests/schema/test_generics.py#L6-L35

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jkimbo
Comment options

@jkimbo
Comment options

@patrick91
Comment options

@vamshiaruru-virgodesigns
Comment options

Answer selected by Ambro17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants