core
core copied to clipboard
The server component of API Platform: hypermedia and GraphQL APIs in minutes
**API Platform version(s) affected**: 3.2.18 **Description** If object is part of the correct serialization group, but nested object doesn't have this group assigned, nested object is serialized as empty array....
I have created a "UserApi mapper" to map the Doctrine User entity and a "BlogApi mapper" to map the Doctrine Blog entity. I try to create a sub-resource of the...
| Q | A | ------------- | --- | Branch? | main | Tickets | | License | MIT | Doc PR | This is currently a WIP and an...
**API Platform version(s) affected**: "api-platform/core": "^3.1" **Description** By some reason, same dto inside `CollectionProvider` and `GetProvider` have different output. I have custom resource `Store`: ```php #[ApiResource( operations: [], normalizationContext: [...
To better understand where to go with #6288 I spent some time researching the history of (PHP 8.1+) enums in this library … i.e. what are the correct behavioural expectations,...
| Q | A | ------------- | --- | Branch? | main | Tickets | Closes https://github.com/api-platform/core/issues/6225 | License | MIT | Doc PR | api-platform/docs#... Tested it on my...
| Q | A | ------------- | --- | Branch? | main | Tickets | None | License | MIT | Doc PR | None Hello, This PR is a...
| Q | A | ------------- | --- | Branch? | main | Tickets | Closes #6251 | License | MIT I put `null !== $previousResourceClass && $isResourceClass` condition before...
I defined an operation using `ApiResource` as follows because I wanted to customize the description for the request. ```php // ... new Post( openapi: new Operation( requestBody: new RequestBody( description:...
i posted it on [api-platform repo](https://github.com/api-platform/api-platform/issues/2682) but maybe it's more suited here. **API Platform version(s) affected**: 3.2.18 **Description** If you have a unique property in your entity it is impossible...