Shared field for blocks? It's wasting bytes in the graphql query #2566
Replies: 4 comments 5 replies
-
Anybody facing similar issue like me? |
Beta Was this translation helpful? Give feedback.
-
I cannot use string templates or gql inline fragments feature because we're using apollo to generate typescript based on the literal graphql query. |
Beta Was this translation helpful? Give feedback.
-
Close for duplication: #1410 |
Beta Was this translation helpful? Give feedback.
-
@jmikrut What I'm requesting is a graphql client query feature to saving graphql query bytes on client size, ![]() but not a typescript optimization to saving generated code in code repo. ![]() |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a blocks field with multiple sections with a shared sectionStyle field. Now it can only be fetched with duplicate queries like this:
I want sth like this to work:
Beta Was this translation helpful? Give feedback.
All reactions