Skip to main content
0 votes
0 answers
34 views

New to GraphQL. Working on designing integration for native mobile app (kotlin/swift). Planning to use Apollo GraphQL Architecture: native app(app) -> graphQL server (server) -> REST endpoint (...
James's user avatar
  • 1
1 vote
0 answers
16 views

async function _loadSchema() { const typeDefs = await loadSchema(path.join(__dirname, '../graphql/typedefs/*.graphql'), { loaders: [ new GraphQLFileLoader() ] }); ...
D_Gamer's user avatar
  • 358
1 vote
0 answers
237 views

I'm trying to merge two separate graphql schemas one which is provided by my CMS endpoint and a local schema for additional typehinting (my CMS schema isn't precise enough). Is there a way to ...
N1h1lum's user avatar
  • 11
0 votes
1 answer
131 views

I am working with 2 Postgres Models - users and posts, where each user can have multiple posts (One to Many Relation). Here I need to make a user profile function to access data of single user along ...
Abhinav Sharma's user avatar
2 votes
0 answers
1k views

Is there a lib/tool for Python to automatically parse a graphqls file? If not, what is a good way to parse the file? I have a Python project that is part of a larger Java project that contains a ....
Ebad's user avatar
  • 428
1 vote
0 answers
129 views

I want to have a GraphQL schema like the following: scalar Timestamp input StatsArgs{ start: Timestamp! end: Timestamp } input PaginationArgs{ page: Int! limit: Int! } type Station{ ...
empjon's user avatar
  • 21
0 votes
0 answers
311 views

Say I have a book-sharing app, and given say a user with a collection of favorite books, when adding a favorite book is the most common best practice that we just use editUser mutation and update ...
MonkeyBonkey's user avatar
  • 48.1k
0 votes
2 answers
1k views

I'm new to GraphQL so please forgive any if this is a silly question. I want to organize GraphQL files(schema and query/mutation files) in client side, which has to be aligned with the GraphQL files ...
cadenzah's user avatar
  • 988
0 votes
1 answer
572 views

I'm developing my website using Gatsby v5 and I'm currently struggling with a GraphQL issue. Problem I use a static GraphQL query to pull the openGraphImageUrl from some GitHub repositories and ...
Julian's user avatar
  • 9,374
1 vote
2 answers
1k views

I have a graphql mutation defined as follows type Mutation { updateParts( partId: String! parts: PartRequest! ): UpdatePartsResponse! } input PartRequest { name: String! ...
Kalanamith's user avatar
  • 20.8k
2 votes
0 answers
164 views

I have a graphql schema that i'm parsing type User { id: ID! name: String! email: String! age: Int posts: [Post!]! } type Post { id: ID! title: String! body: String! author: User! ...
akashmohan's user avatar
3 votes
0 answers
1k views

I have 2 project(graphql client) with schema.graphqls each fro different graphql endpoints, and have some same definitions. Project A --schema.graphqls --type Order... type Product... Project B --...
H Nakazawa's user avatar
0 votes
1 answer
499 views

Context I have setup like so: case class Foo( option_enum_vector_field: Option[Vector[Bar]] // Bar is complicated object which can't be easily expressed with sangria default scalars, but can be ...
KugisMugis's user avatar
0 votes
1 answer
568 views

I was reading the graphQL doc and I found an issue while working with Inline Fragments and Interfaces They mention in the document that we can also return an interface or union type in the schema, but ...
Sachin Kumar's user avatar
  • 3,276
1 vote
0 answers
334 views

I have a GraphQL schema: enum CustomType { Foo Bar } But I need to add enum items from my database. For that, I have made a Visitor that modify the schema model during runtime: @Configuration(...
Oromis's user avatar
  • 316

15 30 50 per page