docs
docs copied to clipboard
API Platform documentation
The Doctrine ORM filter example was missing a crucial part where the user id information is passed to the filter.
Considering this code ```php #[ApiProperty(identifier: false)] public $id; #[ApiProperty(identifier: true)] public $code; ``` The get operation will now expect `code` value to retrieve the resource. cc @soyuka
see https://github.com/api-platform/docs/pull/1351/#issuecomment-827703909
We have an entity UserProduct that stores connection between User and Product (and some extra information). Customer is using API extensively and would like not having to check for duplicates...
All i've done was from this example https://api-platform.com/docs/core/file-upload/#uploading-to-an-existing-resource-with-its-fields I've got problem with posting integer value. Response: **"The type of the \"size\" attribute must be \"int\", \"string\" given."** In my MongoDB...
Hi, VichUploaderBundle now supports PHP 8 attributes as well, therefore the [documentation on uploading files](https://github.com/api-platform/docs/blob/main/core/file-upload.md) can be updated. Although I'm not sure if the old way via annotations should be...
` Cannot autowire service "App\DataPersister\EntityDataPersister": argument "$decorated" of method "__construct()" references interface "ApiPlatform\Core\ DataPersister\ContextAwareDataPersisterInterface" but no such service exists. Try changing the type-hint to "ApiPlatform\Core\DataPersister\DataPersiste rInterface" instead.` symfony Version 5.3.7...
See https://github.com/api-platform/core/pull/4640
* [ ] Take changes in the distribution into account in the getting started guide, see also https://github.com/api-platform/docs/issues/1219 * [ ] Add docs for PHP 8 attributes, use attributes in...
When using a [scalar string as the identifier](https://api-platform.com/docs/core/identifiers/#identifiers), an _Unable to generate an IRI_ error occurs based on the content of the string. This occurs if a forward slash (`/`)...