I’m setting up a GraphQL API using jets and I would like to serve an instance of the GraphQL Playground at ‘/graphql-playground’
I’ve found this repository https://github.com/betaflag/graphql-playground-ruby but I have no idea how to translate the README instructions to jets routes syntax
# config/routes.rb mount GraphQLPlayground, at: '/graphql-playground', endpoint: '/graphql'
I get the error
ArgumentError: unknown keyword: endpoint I’m not sure what syntax to use in order to pass the
endpoint value to the GraphQLPlayground app