core
core copied to clipboard
The server component of API Platform: hypermedia and GraphQL APIs in minutes
**API Platform version(s) affected**: 2.6.8, 3.0-rc2 **Description** When querying collections with associations such as One to Many with GraphQl, extra requests are done (on per entity, N+1 problem) even if...
**API Platform version(s) affected**: 2.6.8 **Description** I created a new resource which identifier is a datetime property. When I try using the property as an identifier, I have the following...
**Description** Now that we are doing 3.0 it would be an excellent time to introduce rate limiting to Api Platform (using the Symfony rate limiter) **Example** For syntax I'd suggest...
Considering the following resource: ```php #[ApiResource(graphQlOperations: [], operations: [new GetCollection])] class Foo { public function __construct( #[ApiProperty(identifier: false)] private string $id ) {} } ``` The collection is not able...
**API Platform version(s) affected**: 2.6.8 **Description** In a project which uses PostgreSQL and API-Platform, I need to filter all records by a locale string. A doctrine filter is my preferred...
| Q | A | ------------- | --- | Branch? | 2.7 | Tickets | ~ | License | MIT | Doc PR | ~ Add some phpdoc generics.
| Q | A | ------------- | --- | Tickets | #4848 | License | MIT I open this PR to discuss about the possible solution to fix the `exceptionToStatus`...
| Q | A | ------------- | --- | Branch? | main | Tickets | ~ | License | MIT | Doc PR | #todo When a JsonSchema needs to...
**API Platform version(s) affected**: 2.5.5 **Description** SearchFilter subresource with changed identifiers works with identifier but not with IRI identifier **How to reproduce** Add 2 classe like in https://api-platform.com/docs/core/identifiers/#changing-identifier-in-a-doctrine-entity , Person...
| Q | A | ------------- | --- | Branch? | 2.7 | License | MIT Actually, the JSON Schema document specifies the data type "object" for an enum property....