Summary
Define a shared GraphQL fragment for the repeated nine-field selection set in the create-task and update-task documents.
Required changes
- Extract the common task selection set into a GraphQL fragment.
- Use the fragment in the create-task and update-task mutations.
Affected areas
- Create-task GraphQL document
- Update-task GraphQL document
- Shared GraphQL fragment
Acceptance criteria
- The repeated nine-field task selection set is defined once.
- Create and update mutations retain their current response fields.
Source
Summary
Define a shared GraphQL fragment for the repeated nine-field selection set in the create-task and update-task documents.
Required changes
Affected areas
Acceptance criteria
Source