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

**Description** The QueryParameterValidator needs to be plugged in with parameters but we shouldn't rely on it having a `Filter`. poke @aegypius

enhancement
PR Welcome

**API Platform version(s) affected**: 3.2.18 **Description** If you have `seld/jsonlint` installed, since https://symfony.com/blog/new-in-symfony-6-4-serializer-improvements#detailed-json-decoding-errors in dev mode symfony serializer is supposed show something more useful than "Syntax error" This can also...

enhancement
PR Welcome

**API Platform version(s) affected**: 3.2.18 **Description** If a DTO expose a property with a API Resource but this property is typed using an Interface to allow polymorphism: Api Platform won't...

**Description** As mentioned in documentation https://api-platform.com/docs/core/serialization/#denormalization ``` The following rules apply when denormalizing embedded relations: If an @id key is present in the embedded resource, then the object corresponding to...

bug

**Description** The [Parameter functionality](https://github.com/api-platform/core/blob/main/docs/adr/0006-filtering-system-and-parameters.md) needs an integration with Elasticsearch. I'm wondering if we should add a new interface as the current one only supports collection although we could use parameters...

enhancement
Elasticsearch

**Description** Are there plans to support Meilisearch? I think it would be a nice extension. Maybe it’s possible to refactor/reuse some code from the ElasticSearch implementation?

enhancement

**Example** ```php use ApiPlatform\Metadata\QueryParameter; class Foo { #[QueryParameter(key: 'q', property: 'hydra:freetextQuery', required: true)] public $q; } ``` See also #6244.

enhancement

**API Platform version(s) affected**: 3.2 **Description** Currently (3.2.16) with the model below the `owner` property will generate the schema: ``` "owner": { "anyOf": [ { "$ref": "#/components/schemas/Wren" }, { "type":...

bug

![20240313_11h43m16s_grim](https://github.com/api-platform/core/assets/1321971/1bc614e5-f5aa-45bd-a361-4e0e74b7dc0d)

bug

## How to reproduce - Require `api-platform/core` in main project - Main project requires a package which requires `api-platform/metadata` ``` Warning: Ambiguous class resolution, "ApiPlatform\Metadata\Resource\Factory\CachedResourceMetadataCollectionFactory" was found 2x: in "/xxxxx/vendor/api-platform/metadata/Resource/Factory/CachedResourceMetadataCollectionFactory.php"...

enhancement