Questions tagged as 'graphql'

1
answer

How to remove specific elements within a matrix in Python?

I did not know how to be more specific in the title, but the problem is that I'm doing a code for the problem of isomorphism of subgraphs (quite basic the truth), and I have a problem, I need to "decompose" a matrix, with this I mean the followi...
asked by 02.05.2018 / 18:44
0
answers

How to use variables with Apollo Graphql

I am using React, GraphQL, Apollo, MongoDB ... I have a list of clients on the screen and I have a search button that when clicking on it goes to a handleSubmit: handleSubmit = (ev, args)=>{ const response = this.props.allClientes({opt...
asked by 28.05.2018 / 18:33
1
answer

problems with accessing properties of an object in a request graphQl

Hi, I'm working on a reactive project with apollographQL and I'm having problems accessing the properties of the object that comes to me from the graphQl server with the mongodb database. Declare a test object in the same component and if I can...
asked by 13.08.2018 / 20:04
0
answers

Problem GraphQl Angular 7 - Laravel

I am using the laravel backend side and put graphql on the server, with which I can make queries from the graphical interface. Now it's time to send the queries from the frontend (Angular7) to laravel, but there's no way. From the beginning I us...
asked by 23.12.2018 / 13:46
0
answers

How can I pass a token and authorize in the header with graphql?

I would like to know if you could help me with the following problem, through graphql I make a call to my endpoint that returns the token and authorization in the header but I can not put them in my graphql endpoint and I would like to know if a...
asked by 16.12.2018 / 22:15
0
answers

Return of models in Spring + GraphQL

In most of the examples I have consulted about Spring with GraphQL, the resolvers communicate directly with the DAOs to obtain models. Is it good practice to return the models directly in the resolvers, or should DTOs be returned? Does the...
asked by 12.11.2018 / 22:46
1
answer

My resolve of a Field in Graphql with laravel does not work

I'm trying to perform this custom resolver for a field, I used graphql in Node before, and it's the first time I use it with laravel, I do not understand why my resolver does not work.     
asked by 28.08.2018 / 15:03
0
answers

error with GraphQL subscriptions "subscriptionsClient.subscribe is not a function"

I'm doing my first server with graphql, all great except for the part of the subscriptions, I get the following error "subscriptionsClient.subscribe is not a function" this is the code of my resolve const Curso = require('./models/Curso');...
asked by 26.08.2018 / 05:34
0
answers

Somebody help me with this error: "ApolloError.js: 43 Uncaught (in promise) Error: Network error: Can not read property 'Mutation' of undefined"

Hi, I am testing this from the local state with apollo client and it gives me this error when invoking the mutate method. ApolloError.js: 43 Uncaught (in promise) Error: Network error: Can not read property 'Mutation' of undefined --------...
asked by 13.09.2018 / 00:54
0
answers

Sort query in apollo graphql

I have the following problem: I want to Order a data set that I build with the following query: SubCategoriaPRODUCTESQuery = gql' query ( $apiUrl: String, $pageId: String, $categoryId: String, $subcategoryId...
asked by 06.07.2018 / 17:38