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 **Description** Properties annotated with `#[SerializedName]` have their original name in the output of `/api/contexts/Entity`, other name converters are also not applied. **How to reproduce** Configure...
Hi! Apologies if I'm misunderstanding something :); Suppose you have this situation: ```php /** * @ApiResource( * normalizationContext={"groups"={"cheese_listing:read"}}, * denormalizationContext={"groups"={"cheese_listing:write"} * ) * @ORM\Entity() */ class CheeseListing { // ......
**API Platform version(s) affected**: 2.6.6 **Description** There are products that have a relation to a unit. The units have a primary key "id" and a property "symbol" (g, kg, l,...
| Q | A | ------------- | --- | Branch? | main | Tickets | - | License | MIT | Doc PR | - PR just for ease of...
| Q | A | ------------- | --- | Branch? | main for features | Tickets | #4546 | License | MIT | Doc PR | api-platform/docs#... (awaiting initial review)...
Co-Authored-By: AntonioCS | Q | A | ------------- | --- | Branch? | main | Tickets | #4416 | License | MIT | Doc PR | api-platform/docs#... This is a...
**API Platform version(s) affected**: 2.6.8 **Description** I use a doctrine function in my orderBy but the queyBuilder not recognize it. ->addOrderBy("JSON_GET_FIELD_AS_INTEGER(usuggest.jScores,'{$alpha}')", 'DESC') I have this error code : The alias...
**API Platform version(s) affected**: 2.6.4 **Description** According to this https://github.com/api-platform/core/blob/main/docs/adr/0001-resource-identifiers.md I'm using a `identifiers` property on item operation (on @ApiResource directly not works) and in documentation is everything OK (I...
**API Platform version(s) affected**: 2.6.8 **Description** Getting unexpected serialized JSON output when using a custom data provider that returns an `ArrayPaginator`. I'm not sure if I'm missing something but after...
**API Platform version(s) affected**: 2.7.x **Description** ```php #[ApiResource( uriTemplate: '/libraries/{id}/books', uriVariables: [ 'id' => new Link( fromClass: Library::class, toProperty: 'library', ) ], operations: [new GetCollection(), new Post()] )] class Book...