365体育足球滚球比分

Questions tagged [graphql]

GraphQL is an API technology designed to describe the complex, nested data dependencies of modern web applications. It is often considered an alternative to SOAP or REST

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Contentful BlogPost: How can I display different category blogs on 2 different container using gatsby graphql

Hi I'm very new on using gatsby and contentful for cms. I just want to display different category blog post on the same page. Is there a way that this can be possible? Below is the code on how I show ...
-1
votes
0answers
8 views

why does curl returning error while accessing graphql api

I am trying to use the curl command to access github graphql api mentioned below: however getting error. Can someone help me with accessing the graphql api using java or curl? how to access github ...
1
vote
0answers
10 views

Does `appsync` support `withFilter` in subscription?

I have a graphql written in nodejs with Apollo Server. Below is the subscription code. As you can see that it uses withFilter which takes two function parameters. In the first function, it takes the ...
0
votes
0answers
13 views

How can I publish event for subscribers in Appsync graphql

I am using Appsync subscription for pub/sub messages. I have read some articles about subscription (like: http://docs.aws.amazon.com/appsync/latest/devguide/real-time-data.html) and all of them ...
1
vote
0answers
20 views

Dynamically set X-Hasura-role in the claim with Firebase

I'm using Hasura as my backend and Google's Firebase for auth in a React app. I have the following roles and constructs: Manager - these are my paying customers. They can own 1 or more Team. Employee ...
0
votes
0answers
6 views

Access Args in subscription resolver

I have the below code @Subscription(returns => [MeetingDTO], { name: 'meetingAdded', resolve(this: MeetingResolver, value) { //TODO: filter based on the given criteria ...
0
votes
0answers
15 views

Can't use the data I I fetched with graphQL queries in my Angular component

How can I assign the string I got from the query to another string in the series object? The queries are working because I can do data binding of the result, but I don't know how to handle this data ...
-1
votes
0answers
7 views

Angular 8: Display fetched data from Graphql with AWS as back end

So I am new to this Angular and I was having an issue regarding displaying the fetched data from GraphQL to the component.html. Here is the code snippet const Campaigns = await API.graphql(...
0
votes
1answer
20 views

Apollo client does not use the expected uri to connect the remote GraphQL server

I am new to Apollo. I set the uri for the remote GraphQL server as instructed in the Apollo documentation: Apollo Angular Doc: Setup and options const uri = 'http://ip_address:port_number/.../graphql'...
0
votes
0answers
9 views

What is Verbal Design Architecture Model for GraphQL Serverless?

Here is the project that has this idea http://github.com/simplify-framework/graphql. And here is an example of it: * @GraphQLServer Name=graphApiGatewayQuery run on LAMBDA FOR EVERY (Query) ...
-2
votes
0answers
13 views

How to add a field in graphql query?

chapters { type = 'chapter' -> I want to add this, so that chapters will have type: chapter field. chapter_uuid: uuid, title } How to add a field in graphql query? I want chapters to have ...
-2
votes
0answers
9 views

Nested value as a parent value

image: photo { url } I have this field in my query and the response is like, image: { url: 'http://www.datocms-assets.com/27…….' } But I want the response to be image: 'http://www.datocms-...
0
votes
0answers
25 views

ElasticSearch using GraphQL - no results in search query when using a new GraphQL type

I've implemented ElasticSearch in a GraphQL query to do a search on a database of Company objects. On the Company object, we have a field headquarters, which used to be an enum, but we're trying to ...
0
votes
1answer
25 views

DynamoDB GSI based queries using Amplify Libraries

For Android applications, I used to use Appsyncclient to query data from DynamoDB when I use GSIs. Nowadays I am trying to use Amplify Libraries to utilize the Datastore features and after reading the ...
0
votes
0answers
19 views

Doubled relationship in GraphQL

I'm developing Tic Tac Toe game with multiplayer as my student project. I'm using AWS AppSync (GraphQL). I have 3 types in my schema: Board, Move and User. Two users must be connected to the Board to ...

15 30 50 per page
1
2 3 4 5
725