Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.

Commit d629567

Browse files
author
vaclavstencl
committed
docs: update GraphQL naming examples
Updated the naming examples for GraphQL queries and fragments. The example now references `projectStatusReport.ts` and `fullProjectStatusReport.ts` to provide clarity on naming conventions within the documentation. This ensures consistency with current project standards.
1 parent 4cd3119 commit d629567

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/Frontend_tutorials/standards/FE-Standards-graphql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ GraphQL definitions—queries, mutations, and fragments—should be organized in
111111
Define fragments for recurring field sets. This avoids redundancy and simplifies future updates. It is possible to nest fragments if suitable.
112112

113113
- **Descriptive Naming:**
114-
Use clear names for queries, mutations, and fragments. For instance, our query in **collectionConfluenceDataSources.ts** is named `collectionConfluenceDataSourcesQuery` and our reusable fragment defined in **webDataSource.ts** is called `webDataSourceFragment`.
114+
Use clear names for queries, mutations, and fragments. For instance, our query in **projectStatusReport.ts** is named `projectStatusReportQuery` and our reusable fragment defined in **fullProjectStatusReport.ts** is called `fullProjectStatusReportFragment`.
115115
Name in the graphql definition is the same as const, only without `Fragment`, `Query`, `Mutation` or `Subscription` suffix.
116116

117117
- **Generate Types:**

0 commit comments

Comments
 (0)