core
core copied to clipboard
The server component of API Platform: hypermedia and GraphQL APIs in minutes
see https://github.com/api-platform/core/pull/7151#issuecomment-2884034195
| Q | A | ------------- | --- | Branch? | 4.1 | Tickets | Closes #7119 | License | MIT | Doc PR | N/A Fixes the array syntax...
| Q | A | ------------- | --- | Branch? | 4.1 | Tickets | N/A | License | MIT | Doc PR | N/A With this syntax `request` and...
| Q | A | ------------- | --- | Branch? | 4.1 | License | MIT To complete the PR #6332 and add error management to the overall package (Config,...
| Q | A | ------------- | --- | Branch? | 4.1 | Tickets | https://github.com/api-platform/core/issues/7034 | License | MIT | Doc PR | In the case when we clear...
```php #[ApiResource( types: [ 'https://schema.org/Store', ], operations: [ new GetCollection(), new Get(), new Post(), ] )] #[ORM\Entity] final class Store { public function __construct( #[ORM\Id, ORM\Column] public string $id, #[ORM\Column,...
**Description** Bundle configuration does not check if required package is installed before configuring associated services. **Example** In ApiPlatform\Symfony\Bundle\DependencyInjection\ApiPlatformExtension.php, we will configure the availble formats. If we try to configure the...
**Description** Evaluate the security attributes when building the openAPI documentation. This for Resources and Operations. **Example** ```php
**API Platform version(s) affected**: 4.1 **Description** In a Laravel application, if the strict mode (https://laravel-news.com/shouldbestrict) is applied to models, the collection endpoints throws the following error: ``` Attempted to lazy...
Hello, I am currently trying to follow the API Platform documentation to create a custom domain exception using #[ErrorResource]. My goal is to expose a custom field to API clients...