Hi Team,
I am facing problem with existing data gateway service (graphql schema stitching). This service works fine with other graphql services which are written using spring boot but it gives error while fetching data from 'apollo prisma graphql service' where response of this service has > 100k records and this service creates schema using npx prisma generate (we don't use normal typedefs or schema.graphqls).
Error is graphql.schema.idl.errors.SchemaProblem: errors=[A schema MUST have a 'query' operation defined]
at graphql.schema.idl.SchemaGenerator.makeExecutableSchema(SchemaGenerator.java:82) ~[graphql-java-19.2.jar:na]
at graphql.schema.idl.SchemaGenerator.makeExecutableSchema(SchemaGenerator.java:58) ~[graphql-java-19.2.jar:na]
at io.fria.lilo.LiloContext.createGraphQL(LiloContext.java:178) ~[lilo-22.11.0.jar:na]
Can you please advise on this. Much appreciated response on this thread.
Thank you,
Tejas
Top comments (0)