Repository navigation
graphql/codegen/plugins/presets/preset-client #8884
Replies: 8 comments
|
Can you nested fragments on the same type as the parent? example here: charlypoly/codegen-repros#1 |
|
how to use client preset in server components ? |
|
How to refetch a specific fragment based on user interaction? |
|
Conditional and infer types doesn't working with vue and typescript, vite-vue-plugin. [vite] Internal server error: [@vue/compiler-sfc] Unresolvable type: TSConditionalType
src/gql/fragment-masking.ts
4 |
5 |
6 | export type FragmentType<TDocumentType extends DocumentTypeDecoration<any, any>> = TDocumentType extends DocumentTypeDecoration<
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 | infer TType,
| ^^^^^^^^^^^^^^
8 | any
| ^^^^^
9 | >
| ^
10 | ? [TType] extends [{ ' $fragmentName'?: infer TKey }]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 | ? TKey extends string
| ^^^^^^^^^^^^^^^^^^^^^^^^^
12 | ? { ' $fragmentRefs'?: { [key in TKey]: TType } }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 | : never
| ^^^^^^^^^^^^^
14 | : never
| ^^^^^^^^^^^
15 | : never;
| ^^^^^^^^^ |
|
Is there potential for an Amplify AppSync connection? |
|
I'd like to be able to separate the destination folder of the But ideally I would have only one NOTE: |
|
I really like the idea of fragment masking. Using Apollo's |
|
Can you answer the question at swc-project/plugins#531 |
Uh oh!
There was an error while loading. Please reload this page.
graphql/codegen/plugins/presets/preset-client
GraphQL Code Generator Documentation
https://the-guild.dev/graphql/codegen/plugins/presets/preset-client
All reactions