You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can now use GraphQL at the endpoint: `https://localhost:8443/graphql`.
20
20
21
21
> [!NOTE]
22
-
> If you used [the Symfony Variant thanks to Symfony Flex](../symfony/index.md#using-symfony-flex-and-composer-advanced-users) or the Laravel variant, URLs will be prefixed with `/api` by default. For example, the GraphQL endpoint will be: `https://localhost:8443/api/graphql`.
22
+
> If you used [the Symfony Variant thanks to Symfony Flex](../symfony/index.md#installing-the-framework) or the Laravel
23
+
> variant, URLs will be prefixed with `/api` by default. For example, the GraphQL endpoint will be: `https://localhost:8443/api/graphql`.
23
24
24
25
## Changing Location of the GraphQL Endpoint
25
26
@@ -138,7 +139,7 @@ api_platform:
138
139
### Disable GraphQL Playground with Laravel
139
140
140
141
> [!WARNING]
141
-
> This is not yet available with Laravel, you're welcome to contribute [on Github](github.com/api-platform/core)
142
+
> This is not yet available with Laravel, you're welcome to contribute [on GitHub](https://github.com/api-platform/core)
142
143
143
144
### Add another Location for GraphQL Playground
144
145
@@ -1100,7 +1101,7 @@ resources:
1100
1101
1101
1102
### Syntax for Filters with a List of Key / Value Arguments
1102
1103
1103
-
Some filters like the [exists filter](filters.md#exists-filter) or the [order filter](filters.md#order-filter-sorting) take a list of key / value as arguments.
1104
+
Some filters like the [exists filter](doctrine-filters.md#exists-filter) or the [order filter](doctrine-filters.md#order-filter-sorting) take a list of key / value as arguments.
1104
1105
1105
1106
The first syntax coming to mind to use them is to write:
1106
1107
@@ -1387,7 +1388,7 @@ resources:
1387
1388
1388
1389
</code-selector>
1389
1390
1390
-
Once enabled, a `page` filter will be available in the collection query (its name [can be changed in the configuration](pagination.md)) and an `itemsPerPage` filter will be available too if [client-side-pagination](pagination.md#client-side) is enabled.
1391
+
Once enabled, a `page` filter will be available in the collection query (its name [can be changed in the configuration](pagination.md)) and an `itemsPerPage` filter will be available too if [client-side-pagination](pagination.md#disabling-the-pagination-client-side) is enabled.
1391
1392
1392
1393
A `paginationInfo` field can be queried to obtain the following information:
1393
1394
@@ -2812,7 +2813,7 @@ final class BookContextBuilder implements SerializerContextBuilderInterface
2812
2813
## Export the Schema in SDL
2813
2814
2814
2815
> [!WARNING]
2815
-
> This command is not yet available with Laravel, you're welcome to contribute [on Github](github.com/api-platform/core)
2816
+
> This command is not yet available with Laravel, you're welcome to contribute [on GitHub](https://github.com/api-platform/core)
2816
2817
2817
2818
You may need to export your schema in SDL (Schema Definition Language) to import it in some tools.
2818
2819
@@ -2828,9 +2829,10 @@ Since the command prints the schema to the output if you don't use the `-o` opti
As common a problem as it may seem, handling file upload requires a custom implementation in your app. This page will
4
+
guide you in handling file upload in your API, with the help of[VichUploaderBundle](https://github.com/dustin10/VichUploaderBundle).
5
+
It is recommended you [read the documentation of VichUploaderBundle](https://github.com/dustin10/VichUploaderBundle/blob/master/docs/index.md)
9
6
before proceeding. It will help you get a grasp on how the bundle works, and why we use it.
10
7
11
-
**Note**: Uploading files won't work in `PUT` or `PATCH` requests, you must use `POST` method to upload files.
12
-
See [the related issue on Symfony](https://github.com/symfony/symfony/issues/9226) and [the related bug in PHP](https://bugs.php.net/bug.php?id=55815) talking about this behavior.
8
+
> [!NOTE]
9
+
> Uploading files won't work in `PUT` or `PATCH` requests, you must use `POST` method to upload files.
10
+
> See [the related issue on Symfony](https://github.com/symfony/symfony/issues/9226) and
11
+
> [the related bug in PHP](https://bugs.php.net/bug.php?id=55815) talking about this behavior.
13
12
14
13
Enable the multipart format globally in order to use it as the input format of your resource:
15
14
@@ -137,7 +136,7 @@ Note: From V3.3 onwards, `'multipart/form-data'` must either be including in the
137
136
Returning the plain file path on the filesystem where the file is stored is not useful for the client, which needs a
138
137
URL to work with.
139
138
140
-
A [normalizer](serialization.md#normalization) could be used to set the `contentUrl` property:
139
+
A [normalizer](../core/serialization.md#normalization) could be used to set the `contentUrl` property:
0 commit comments