Skip to content

Commit cd1f6a2

Browse files
authored
docs: callout (dotansimha#8352)
1 parent 0c93287 commit cd1f6a2

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

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

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

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

14+
import { Callout } from '@theguild/components'
15+
1416
<Callout>
1517
**Operations and fragments must have unique names**
1618

website/src/pages/docs/getting-started/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,12 @@ Now, with simple configuration and an npm/yarn script, a front-end developers be
354354

355355
- **less boilerplate** (thanks to full code generation such as React hooks generation)
356356

357+
<Callout>
358+
**Operations and fragments must have unique names**
359+
360+
GraphQL Code Generator checks for this automatically and will let you know if you have any conflicts.
361+
</Callout>
362+
357363
<Callout>
358364
**How does GraphQL Code Generator work?**
359365

0 commit comments

Comments
 (0)