2 Flutter graphql using cache with hive, when calling query with police ‘cacheAndNetwork’ it always uses the network without the cache Here is caple of my code Future<QueryResult> query(String query, {Map<String, dynamic> variables}) async { QueryOptions options = QueryOptions( document: gql(query), variables: variables, fetchPolicy: FetchPolicy.cacheAndNetwork, errorPolicy: ErrorPolicy.none, cacheRereadPolicy: CacheRereadPolicy.mergeOptimistic, ); final result = await _client.query(options); […]
0 I’ve been trying to get my head around this issue for a couple of days but I seem to be unable to find a solution. I’m working on a GraphQL backend that uses Apollo and Neo4j. I’ve got a type similar to this one: type Data { ID: ID! @id(autogenerate: true, unique: true) data: […]
0 Most GraphQL libraries use the schema definition language(SDL) to define the types of a GraphQL service, like this: type Query { greeting: String! } type Mutation { setName(name: String!): String! } type Subscription { greetings: String! } In Ballerina, how do we define the schema, and where should we add these types? graphql ballerina […]
-3 How to intercept and send HTTP requests for GraphQL? I saw some people are able to find security bugs via GraphQL on Facebook. How do they do it? Are there any tools available to test these calls? facebook-graph-api graphql Share Improve this question Follow edited Jul 24, 2018 at 19:45 phwd 20k55 gold badges5050 […]
0 i use… laravel v10.8 php 8.1 lighthouse v6.10 apollo-client 3.7.16 in lighthouse v5.41 we have extension that include category i was handle errors with this option… but in lighthouse v6.10 i can not get errors category how can i get it? laravel error-handling graphql laravel-lighthouse Share Follow asked 5 mins ago ali asghar sadat […]
0 I’m working on a Github automation script, for a specific task I need to know from a projectV2 and an issue number, get the date when the issue was added using the graphQL api. I tried projectcards but it concerns only the project item and not the projectV2. I tried to look at the […]
0 I have large JSON object returned by my nodejs API server. I want to give users ability to query subset of fields similar to GraphQL but without schema. Object that is returned by API have set of standard fields but also set of any custom fields that users can add to its "custom" property. […]
5 I’m totally new to GraphQL and wanted to play around with graphql-php in order to build a simple API to get started. I’m currently reading the docs and trying out the examples, but I’m stuck quite at the beginning. I want my schema to be stored in a schema.graphql file instead of building it […]
Hi there! letslearngraphql.com Did you know that it is possible to send messages legitimately? We are providing a new legitimate method of submitting appeals through contact forms. Such forms can be found on a plethora of websites. When such appeals are sent, no personal information is utilized, and messages are delivered to forms specifically created […]