JS, REACT, & NODE RESEARCH Unable to use applyMiddleware (from graphql-middleware) after upgrading to 2.2.0 October 2, 2023admin With a minimum graphql server with express, apollo-server 2.2.0 throws Error: Unable to generate server introspection document. while trying to apply middleware (graphql-shield) on the server with graphql-middleware const {…Read moreUnable to use applyMiddleware (from graphql-middleware) after upgrading to 2.2.0
REST/HTTP & GRAPHQL apollo – Graphql-Shield hijacks errors December 11, 2021admin In the resolver throw new createError.BadRequest(“bad input”) error is hijacked by Graphql-shield and shown as { “errors”: [ { “message”: “Not Authorised!”, “locations”: [ { “line”: 2, “column”: 3 }…Read moreapollo – Graphql-Shield hijacks errors