Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[DoctrineBridge] AllowEntityValueResolver to return a list of entities#53365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@HypeMC
Copy link
Member

QA
Branch?7.1
Bug fix?no
New feature?yes
Deprecations?no
IssuesFix#53236 (sort of)
LicenseMIT

Makes the following possible:

#[Route('/{author_id}', name:'app_test')]publicfunctionindex(    #[MapEntity(class: Post::class, expr:'repository.findBy({"author": author_id}, {}, 10)')]iterable$posts):Response {// ...}

This is actually something that used to be possible with the SensioFrameworkExtraBundle.

kaznovac reacted with rocket emoji
@HypeMCHypeMCforce-pushed themapentity-with-multiple-results branch from11e1248 to27ce294CompareJanuary 3, 2024 19:37
OskarStark referenced this pull request in symfony/symfony-docsJan 20, 2024
@nicolas-grekasnicolas-grekas added the ❄️ Feature FreezeImportant Pull Requests to finish before the next Symfony "feature freeze" labelApr 12, 2024
@HypeMCHypeMCforce-pushed themapentity-with-multiple-results branch from27ce294 to165524cCompareApril 12, 2024 13:48
@nicolas-grekas
Copy link
Member

Thank you@HypeMC.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark left review comments

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@welcoMatticwelcoMatticwelcoMattic approved these changes

Assignees

No one assigned

Labels

DoctrineBridgeFeature❄️ Feature FreezeImportant Pull Requests to finish before the next Symfony "feature freeze"Status: Reviewed

Projects

None yet

Milestone

7.1

Development

Successfully merging this pull request may close these issues.

[DoctrineBridge] MapEntity with multiple results

5 participants

@HypeMC@nicolas-grekas@welcoMattic@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp