Skip to content

Conditional resolving of fields #678

Answered by rafalp
pylipp asked this question in Q&A
Sep 23, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

How can I work around this?

Do you have a measurable data showing that this is degrading performance of your app?

You can look into requested fields from author resolver by looking up the contents of info instance, but overhead of python logic introspecting this object and mapping it to your ORM would be more than gains from limiting number of columns in your SQL query.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pylipp
Comment options

@pylipp
Comment options

Answer selected by pylipp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants