Relative Content

Tag Archive for elysiajsgraphql-yoga

Elysiajs + GraphQL Yoga: How do I log the query and name of the graphql api being called?

I’m using Elysiajs and GraphQL Yoga to build a back-end, and new to both. All graphql apis are sent to the same /graphql endpoint, so I don’t know which function is being used. Since cloning the body in any way is prevented, is it possible to write a kind of middleware to log the query being used, instead of writing a console.log in every function?

Elysiajs + GraphQL Yoga: How do I log the query and name of the graphql api being called?

I’m using Elysiajs and GraphQL Yoga to build a back-end, and new to both. All graphql apis are sent to the same /graphql endpoint, so I don’t know which function is being used. Since cloning the body in any way is prevented, is it possible to write a kind of middleware to log the query being used, instead of writing a console.log in every function?

Elysiajs + GraphQL Yoga: How do I log the query and name of the graphql api being called?

I’m using Elysiajs and GraphQL Yoga to build a back-end, and new to both. All graphql apis are sent to the same /graphql endpoint, so I don’t know which function is being used. Since cloning the body in any way is prevented, is it possible to write a kind of middleware to log the query being used, instead of writing a console.log in every function?

Elysiajs + GraphQL Yoga: How do I log the query and name of the graphql api being called?

I’m using Elysiajs and GraphQL Yoga to build a back-end, and new to both. All graphql apis are sent to the same /graphql endpoint, so I don’t know which function is being used. Since cloning the body in any way is prevented, is it possible to write a kind of middleware to log the query being used, instead of writing a console.log in every function?