graphql-dotnet / graphql-dotnet/graphql-client
How to use SendQueryAsync when the query returns multiple collections of results ?
- Dominant language
- C#
- Stars
- 648
- Forks
- 136
- PR merge metrics
- No merged PRs in 30d
Description
I am new to GrahpQL and I am working on an integration project where our customer has a GraphQL API.
I have a query that looks like this:
```graphql
{
maskiner {
masktyp
mnr
kundnr
avtalnr
install
plac
gatuadr
postnr
ort
land
tel
email
portkod
ref
distrikt
kategori
}
maskinty {
artnr
namn
}
mask3 {
mnr
projektnr_r1
}
projekt {
nr
namn
}
}
```
this results in a json that contains 4 collections of data, I was expecting to get back json so that I could use the GetDataFieldAs method to just parse this out as 4 diffrent collections.
But now I saw that that option has been removed and now I have to create a type that matches the result, how do I do that ?
/Andreas
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.