Skip to content

Commit 0c93287

Browse files
authored
Operations and fragments must be uniquely named (dotansimha#8343)
1 parent f305bc4 commit 0c93287

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

website/src/pages/docs/advanced/how-does-it-work.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ This process, applied to the `@graphql-codegen/typescript` plugin, is illustrate
1111

1212
![Codegen flow example](../../../../public/assets/illustrations/codegen_flow1.png)
1313

14+
<Callout>
15+
**Operations and fragments must have unique names**
16+
17+
GraphQL Code Generator checks for this automatically and will let you know if you have any conflicts.
18+
</Callout>
19+
1420
## Example with `@graphql-codegen/typescript`
1521

1622
Given the following GraphQL schema:

0 commit comments

Comments
 (0)