Stylianos Gakis
02/17/2024, 5:13 PM[Contract!]!
.
In my case, I actually am only interested in the size of that list for this particular situation. Because I just wanna know if there are any contracts.
Then on my .graphql file, I got this
...
activeContracts {
id
}
...
but I am getting unused field
on the id, since well... I am not in fact using it 😄
There's no notion of just fetching a list without anything in there in GQL right? Is my best bet to just add # noinspection ApolloUnusedField
over the id
to not get a warning?mbonnin
02/17/2024, 5:17 PMThere's no notion of just fetching a list without anything in there in GQL right?Indeed there needs to be a selection.
mbonnin
02/17/2024, 5:18 PMConnection
or so where you have the list size as page metadatambonnin
02/17/2024, 5:19 PM# noinspection ApolloUnusedField
indeedStylianos Gakis
02/17/2024, 5:20 PMephemient
02/17/2024, 5:20 PM__typename
?Stylianos Gakis
02/17/2024, 5:21 PM