core icon indicating copy to clipboard operation
core copied to clipboard

The server component of API Platform: hypermedia and GraphQL APIs in minutes

Results 554 core issues
Sort by recently updated
recently updated
newest added

### Discussed in https://github.com/api-platform/core/discussions/5875 Originally posted by **andersmateusz** October 6, 2023 Hey, I have encountered following problem when normalizing data in my Symfony app where I use API Platform as...

**API Platform version(s) affected**: 3.1+ PHP: PHP 8.1.26 (cli) (built: Nov 27 2023 23:37:27) (NTS) Api platform: v3.3.11 **Description** Class `vendor/api-platform/core/src/OpenApi/Model/Parameter.php` has default parameters so I would expect that providing...

**API Platform version(s) affected**: 4.1.15 **Description** When trying to get a collection of related models via a polymorphic relationship, the query is not scoped to model parent class. Structure: Model...

| Q | A | ------------- | --- | Branch? | main | License | MIT ![1k_items_frankenphp_stream_vs_serialize_speed](https://github.com/user-attachments/assets/4bdd7291-d54d-40f4-a49d-b46766b012e5)

| Q | A | ------------- | --- | Branch? | 4.1 | Tickets | N/A | License | MIT | Doc PR | N/A Considering the following configuration: ```php...

**API Platform version(s) affected**: v3.4.16 **Description** A nullable array of entities crashes on serialization, because API platform core expects only iterable, but not null. **How to reproduce** Call `\ApiPlatform\JsonLd\Serializer\ItemNormalizer::normalize` on...

bug

**API Platform version(s) affected**: 4.1.15 **Description** Some spec readers will throw an error on `allowEmptyValue` as its present on a path parameter when the spec says: > This field is...

bug

**API Platform version(s) affected**: v2.7.16 **Description** Generation of swagger fails with exception 'Class "self" does not exist' when used enum contains valid phpdoc block on public method when key-word `self`...

stale

**API Platform version(s) affected**: 4.1.16 **Description** Just updated to v4.1.16, and docs.jsonld is now returning a result with two @context entries. ![Image](https://github.com/user-attachments/assets/e969c4c6-1053-459c-a66b-8480dc47bcea) **Possible Solution** ApiPlatform\JsonLd\HydraContext - has already @context key...

| Q | A | ------------- | --- | Branch? | 4.1 | License | MIT