Skip to content

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented Oct 22, 2021

No description provided.

yoshz and others added 22 commits September 27, 2021 15:43
…e search filter (api-platform#4366)

This is the equivalent fix for SearchFilter as was done in
api-platform#2049 for the ExistsFilter.
Without this fix, Doctrine complains:
"A single-valued association path expression to an inverse side is not
supported in DQL queries. Instead of \"o.owner\" use an explicit join."
* Add return type and php docs

* Fix inheritdoc missing

* Update src/Bridge/RamseyUuid/Identifier/Normalizer/UuidNormalizer.php

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>

Co-authored-by: pierre.rebeilleau <pierre.rebeilleau@izi-solutions.fr>
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
…cts (api-platform#4521)

* fix: Pass the child context when normalizing nested non-resource objects

Currently, the `createChildContext()` method isn't used when normalizing embedded objects that are not resources. Hence, for example, the `PropertiesFilter` won't work for these objects.

This PR fixes that by invoking `createChildContext()` also for nested non-resource objects.

* Add behat test

Co-authored-by: Bernhard Schussek <bernhard.schussek@webmozarts.com>
api-platform#4493)

* Do not apply order extension if sorting already applied

* fix(doctrine): add missing prophecy call for orm queryBuilder in tests

* fix(phpcs): fix cs

* fix(tests): remove shouldBeCalled on aggregationBuilder willThrow OutOfRangeException
@soyuka soyuka merged commit e50a7b5 into api-platform:main Oct 22, 2021
@soyuka soyuka deleted the merge-26 branch October 22, 2021 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants