question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve doc for including graphQL

See original GitHub issue

After docker-compose exec app composer req webonyx/graphql-php I trying to open https://localhost:8443/graphql and I get a ERR_CONNECTION_REFUSED

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
minorbugcommented, Sep 19, 2018

This is still an issue, at least for me.

Using the composer route, I can create an API Platform project that exposes the /graphql route correctly.

When using the docker compose setup, and after adding the graphql package, I am unable to get to the /graphql route. It DOES show up as a route in the debug output: api_graphql_entrypoint ANY ANY ANY /graphql

1reaction
dunglascommented, Jan 30, 2018

Authentication and authorization are already supported. I don’t know exactly what you mean by “but better way is a hide graphQL by symfony”, but the GraphQL implementation is 100% integrated with Symfony, and if you put /graphql behind a Symfony firewall, it will work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

GraphQL query best practices
You improve debugging output in both client and server code, helping you identify ... The value of a GraphQL argument might include sensitive...
Read more >
GraphQL Best Practices
Ultimately designing APIs with feature-rich pagination led to a best practice pattern called "Connections". Some client tools for GraphQL, such as Relay, know ......
Read more >
GraphQL: The Easy Way to Do the Hard Stuff
We'll do the hard stuff the easy way by starting only with data and building out an entire site using GraphQL.
Read more >
Building a simple document manager with GraphQL — Part 1
We've discussed one of the basic building blocks of GraphQL, ... Here we're defining our query to include allDocuments and allUsers which ...
Read more >
Getting started with GraphQL
GraphQL is a flexible data query language that allows you to define API call responses to match your use case and technical needs...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found