core
core copied to clipboard
The server component of API Platform: hypermedia and GraphQL APIs in minutes
Setting `KeepLegacyInflector` to false, will remove all filters from Get/GetCollection operations.
**API Platform version(s) affected**: v3.2.3 **Description** Below a (slimmed down) example of our entity and ApiPlatform resource and filter definition: ```php
**API Platform version(s) affected**: main **Description** When `PropertySchemaCollectionRestriction` attempts to generate the restrictions for the sub-graph, it passes incorrect property metadata. **How to reproduce** Given a validation rule like this:...
| Q | A | ------------- | --- | Branch? | 3.1 | Tickets | #5414 #5413 | License | MIT
**API Platform version(s) affected**: v3.1.18 **Description** The following will not work: ```php #[ApiResource( operations: [ new GetCollection(), ], )] #[ApiFilter(DateFilter::class, properties: [ 'date', ])] class Foo { #[SerializedName('date')] public \DateTimeInterface...
**Description** The mapping paths configuration currently only supports directories. This means that it must search all files within the directory for api resources. However, when tests are located next to...
**API Platform version(s) affected**: 3.2 **Description** Using routeName in resource with XML configuration generates an error. It works ok when using attributes. The following error occurs in the console: `Element...
**API Platform version(s) affected**: 3.1.11+ **Description** I have an endpoint like this one: `POST /feeders/{id}/feed` that triggers an action on a resource called feeder. This endpoint have a `security` setting,...
Duplicate: https://github.com/api-platform/core/issues/4326 Since the original authord can't reopon the issue even after i added "temporary" solution. I post my own issue. Here is the repost of my comment in the...
**Description** Currently, we have a way to document error HTTP status codes supported by an Operation with `exceptionToStatus` property, as well as adding our own documentation with `openApi` property. That...
| Q | A | ------------- | --- | Branch? | main | Tickets | https://github.com/api-platform/api-platform/issues/1958 https://github.com/api-platform/api-platform/issues/2134 https://github.com/api-platform/core/pull/4313 https://github.com/api-platform/core/issues/4656 | License | MIT Hello there, Given: - The [wide and...