Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to configure custom service for query builder in doctrine orm driver #54

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

GSadee
Copy link
Member

@GSadee GSadee commented Apr 14, 2020

It adds possibility to configure custom query builder in grid:

app_book:
    driver:
        name: doctrine/orm
        options:
           class: AppBundle\Entity\Book
           repository:
               method: [expr:service('app.custom_books_query_builder'), create]

@GSadee GSadee added the Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). label Apr 14, 2020
@GSadee GSadee force-pushed the custom-query-builder branch from bfb6a34 to e4db60e Compare April 14, 2020 07:00
@GSadee GSadee force-pushed the custom-query-builder branch from e4db60e to ed94093 Compare April 14, 2020 07:10
@lchrusciel lchrusciel merged commit 4f0dadf into Sylius:master Apr 14, 2020
@lchrusciel
Copy link
Member

Thanks, Grzegorz! 🎉

@GSadee GSadee deleted the custom-query-builder branch April 14, 2020 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants