A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package. Built after react apollo
47
stars
7
forks
source link
Question: Purpose of "getOperationName" function #11
Closed
thosakwe closed 5 years ago
While looking through the source of this package, I found this comment: https://github.com/snowballdigital/flutter-graphql/blob/master/lib/src/core/query_manager.dart#L67-L68:
I am the creator/maintainer of the
graphql_parser
package. Can you provide some details about the bug you are referring to?In a query like this:
There is no operation name, and this a pretty common case.
Is it possible that the query you were using simply didn't have an operation name? Otherwise, if you can provide a repro, I can fix it.