Gwendolen Lynch

Results 72 comments of Gwendolen Lynch

I think this is where the breakage occurs. https://github.com/api-platform/core/blob/97c8ae26eb5eb4cfaafadcc36b7d497b9fa2cb9e/src/Metadata/Property/Factory/AttributePropertyMetadataFactory.php#L62-L71 Removing the `return`, and handling `$reflectionEnum` below works (caveat emptor).

It is from the operations defined in the `#[ErrorResource]` ~annotations~ attributes in: - `ApiPlatform\Symfony\Validator\Exception\ValidationException` - #5848 - #5841 - `ApiPlatform\State\ApiResource\Error` (formerly `ApiPlatform\ApiResource\Error`) - #5433 - #5974 Investigating an issue from...

For context, when I hit the problems in #45332, it was working on commands doing large long-running PostgreSQL jobs. It is too long ago now, but I seem to remember...

This latest update *should* take care of the remaining deprecations to support DBAL v4 (and silence PHPUnit). Tests are passing locally.

Thanks for your feedback, @tasselchof. I'm going to try to add some more tests to cover this. What versions of `doctrine/orm`, `doctrine/dbal`, and `doctrine/common` are you using?

This looks to be fixed by #6092 The tl;dr of what was happening was right here https://github.com/api-platform/core/blob/875cc155e556541c0591b0c182ed64dcc41b9984/src/GraphQl/Resolver/Factory/ResolverFactory.php#L41 `$body` was equal to `0` so the loose comparison sent things down the...

This looks to have been fixed circa `3.2.8` as my test case passed from there on.

Does adding `output: StoreDto::class` to each of the operations work?

@dunglas it must be my week for getting confused. :sun_with_face: I'm very happy to make required changes, but could you be so kind as to give a bit more context,...

Thank you @gnito-org, I can reproduce it here.