You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/data/fragments.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,15 +43,15 @@ Changes to the `NameParts` fragment automatically update the fields included in
43
43
44
44
## Unique fragment names {#unique-names}
45
45
46
-
Fragment names must be unique across your entire application. If you accidentally reuse a fragment name, `graphql-tag`warns you about the conflict at runtime to prevent subtle bugs:
46
+
Fragment names must be unique across your entire application. If you reuse a fragment name, the `graphql-tag`component will warn about the conflict at runtime to prevent subtle bugs:
47
47
48
48
```text
49
49
Warning: fragment with name SomeFragment already exists.
50
50
graphql-tag enforces all fragment names across your application to be unique; read more about
51
51
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names
52
52
```
53
53
54
-
Always use descriptive, component-scoped fragment names (like `ItemFragment` or `UserProfileFragment`) to avoid accidental name collisions.
54
+
Always use descriptive, component-scoped fragment names (like `ItemFragment` or `UserProfileFragment`) to avoid name collisions.
0 commit comments