Skip to content

Commit 72f4135

Browse files
authored
Add a note for user installing api platform with symfony flex (#1321)
1 parent 9f6eba2 commit 72f4135

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

core/graphql.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ docker-compose exec php sh -c '
2121

2222
You can now use GraphQL at the endpoint: `https://localhost:8443/graphql`.
2323

24-
*Note:* If you used [Symfony Flex to install API Platform](../distribution/index.md#using-symfony-flex-and-composer-advanced-users),
25-
the GraphQL endpoint will be: `https://localhost:8443/api/graphql`.
24+
*Note:* If you used [Symfony Flex to install API Platform](../distribution/index.md#using-symfony-flex-and-composer-advanced-users), URLs will be prefixed with `/api` by default. For example, the GraphQL endpoint will be: `https://localhost:8443/api/graphql`.
2625

2726
## Changing Location of the GraphQL Endpoint
2827

@@ -174,7 +173,7 @@ If you don't know what queries are yet, please [read the documentation about the
174173
For each resource, two queries are available: one for retrieving an item and the other one for the collection.
175174
For example, if you have a `Book` resource, the queries `book` and `books` can be used.
176175

177-
### Global Object Identifier
176+
### Global Object Identifier
178177

179178
When querying an item, you need to pass an identifier as argument. Following the [GraphQL Global Object Identification Specification](https://relay.dev/graphql/objectidentification.htm),
180179
the identifier needs to be globally unique. In API Platform, this argument is represented as an [IRI (Internationalized Resource Identifier)](https://www.w3.org/TR/ld-glossary/#internationalized-resource-identifier).

0 commit comments

Comments
 (0)