Tag: apollo
-
GraphQL Mutation Query Not working in Apollo Server
0 helpppp, I am making a movie website using Tmdb api built with Nestjs and Graphql as the backend, I wanted to make a patch request that users can upload their ratings for each of the movies, here is the link to the docs for more details: https://developer.themoviedb.org/reference/movie-add-rating, I am using schema first approach with…
-
Enum values casting not retained in Apollo graphQL java code generation
0 I have defined following enum type in my graphql schema enum TimeUnit { Day Week Month Year } I am using apollo graphql client and generating models which create a java enum like: public enum TimeUnit { DAY("Day"), WEEK("Week"), MONTH("Month"), YEAR("Year"), /** * Auto generated constant for unknown enum values */ $UNKNOWN("$UNKNOWN"); private final…
-
GraphQL Neo4J query that filters by date doesn’t return any data when it should
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:…
-
“Mime type of document could not be determined” Error on Apollo Server
0 I was given a link for a graphQL server with already built in queries and mutations. When I tried to run a mutation, I got the following response: { "data": {}, "errors": [ { "message": "Mime type of document could not be determined" } ] } What could be the problem and how can…
-
How to create Ember Service that fetches data from Apollo GraphQL Server
0 I successfully fetched data from Apollo GraphQL Server in Amber route using ember-apollo-client. I tried the same approach to have a service fetching data but I’m getting Uncaught TypeError: this.apollo.query is not a function from app/services/nav-categories.js. Minimal Working Example Start a new app using $ ember new super-rentals –lang en $ ember generate service…
-
Account creation form for Shopify API
0 To start I have a custom Shopify frontend that is currently utilizing the admin API to load products. I’m using a apollo/graphql backend too communicate with Shopify Admin API. I’m using shopify-api-node to facilitate the admin API queries. I recently figured out that shopify-api-node package does not support communication with the storefront API. The…
-
GraphQL Refresh Token in Kotlin
0 Please I need some help. I am running an Interceptor to detect if the access token is expired or not. So If expired I am trying to refresh Token otherwise I send the request. My issue that it is running the refresh token request with the token on the header and the other requests…
-
cors problem with node, typescript, apollo and graphql
0 I’m getting corns with my application. Have I configured my server incorrectly ? I’m trying to create a user in my PostgreeSQL database via the frontend. I’ve made a tsx component which is a form. When I submit the data, it returns a cors error, my frontend being at localhost:3000 and my backend at…