graphql-dotnet / graphql-dotnet/graphql-client
How would you use Fragments?
- Dominant language
- C#
- Stars
- 648
- Forks
- 136
- PR merge metrics
- No merged PRs in 30d
Description
Is there a support to use reusable fragments with this client? As far as I tested, I can use fragments this way:
`@"
query ($ids: [UUID!]!)
{
companiesByIDs (ids: $ids) {
address
iD
...FragmentMetadata
name
}
}
fragment FragmentMetadata on Company
{
metadata{
createdBy
createdOnUTC
dataVersion
modifiedBy
modifiedOnUTC
schemaVersion
}
}
`
But if I have to define them in each query string, then they are pointless and not reusable?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.