Skip to content

Commit fea624e

Browse files
committed
Merge remote-tracking branch 'upstream/4.0' into 4.1
2 parents 2f2e686 + 036a06b commit fea624e

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

core/configuration.md

+3
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,9 @@ api_platform:
369369
input: ~
370370
output: ~
371371
stateless: ~
372+
schemes: ~
373+
options: ~
374+
host: ~
372375

373376
# The URL generation strategy to use for IRIs
374377
url_generation_strategy: !php/const ApiPlatform\Api\UrlGeneratorInterface::ABS_PATH

core/form-data.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ final class FormRequestProcessorDecorator implements ProcessorInterface
3838
{
3939
public function __construct(
4040
private readonly ProcessorInterface $decorated,
41-
private readonlyDenormalizerInterface $denormalizer,
41+
private readonly DenormalizerInterface $denormalizer,
4242
private readonly SerializerContextBuilderInterface $serializerContextBuilder
4343
) {}
4444

symfony/index.md

+15
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,21 @@ For instance, go to `https://localhost/greetings.jsonld` to retrieve the list of
239239
Of course, you can also use your favorite HTTP client to query the API.
240240
We are fond of [Hoppscotch](https://hoppscotch.com), a free and open source API client with good support of API Platform.
241241

242+
## Keep Your Project in Sync with the API Platform Template
243+
244+
You have started a project with the API Platform template and you would like to benefit from the latest enhancements introduced since you created your project (i.e. [FrankenPHP](https://frankenphp.dev/). Juste use this Git based tool
245+
[The _template-sync_ project](https://github.com/coopTilleuls/template-sync) got you covered.
246+
247+
Run the following command to import the changes since your last update:
248+
249+
```console
250+
curl -sSL https://raw.githubusercontent.com/coopTilleuls/template-sync/main/template-sync.sh| sh -s -- https://github.com/api-platform/api-platform
251+
```
252+
253+
Resolve potential conflicts, run `git cherry-pick --continue` and you are done!
254+
255+
For more details, refer to the [coopTilleuls/template-sync documentation](https://github.com/coopTilleuls/template-sync/blob/main/README.md)
256+
242257
## Bringing your Own Model
243258

244259
Your API Platform project is now 100% functional. Let's expose our own data model.

0 commit comments

Comments
 (0)