core
core copied to clipboard
The server component of API Platform: hypermedia and GraphQL APIs in minutes
https://github.com/api-platform/core/pull/6038 was introduced (@jotwea) but we had mongodb tests disabled. I've skipped the test for now but it'd be nice to check what's going on: https://github.com/api-platform/core/blob/main/features/graphql/query.feature#L71 Note that to run...
**API Platform version(s) affected**: 3.2.13 **Description** Security system works only on **resource** not on **operation** level. For example `ROLE_WORKER` doesn't have access to the `PUT /workers/{id}` **operation** (even to him...
| Q | A | ------------- | --- | Branch? | 3.2 When your entity identifier is not named id, your `uriVariables` (if not customized) will contains something like `["id"...
| Q | A | ------------- | --- | Branch? | main | Tickets | https://github.com/api-platform/api-platform/issues/1139 | License | MIT | Doc PR | Now, params who instance of Symfony\Component\Uid\Uuid...
**API Platform version(s) affected**: 3.3.0-alpha1 **Description** Almost everything in my project seems to just work in the alpha version - nice! I have one issue with endpoints which override the...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. Release notes Sourced from codecov/codecov-action's releases. v4.0.0 v4 of the Codecov Action uses the CLI as the underlying upload. The CLI has helped to...
| Q | A | ------------- | --- | Branch? | 3.2 Decorated normalizer has return type `array|ArrayObject|bool|float|int|null|string \ArrayObject`, and I had issues in test where the returned value was...
**API Platform version(s) affected**: 3.2.* **Description** GraphQL: In `IriConverter->getResourceFromIri()` the exception `ApiPlatform\Exception\ItemNotFoundException` is thrown, when not finding a proper data set. `ReadStage->getItem()` calls `IriConverter->getResourceFromIri()` and catches `ItemNotFoundException`s. In version `3.1.25`...
Hi, I have an security issue with GraphQl endpoint example graphql query: ``` { intent(id: "/api/intents/30") { mainEconomicActivity { isMainActivity } } } ``` problem here is that when `intent.mainEconomicActivity`...
**API Platform version(s) affected**: 3.2.11 **Description** While writing tests I noticed that when you try to denormalize a non existing item it'll throw an exception with statuscode 500. It shouldn't...