-
Notifications
You must be signed in to change notification settings - Fork 10
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
Chore(api): change query builder named parameter #29
Chore(api): change query builder named parameter #29
Conversation
tleon
commented
Apr 4, 2024
Questions | Answers |
---|---|
Description? | Change named parameter in the module |
Type? | improvement |
BC breaks? | no |
Deprecations? | no |
Fixed ticket? | Fixes #35686 |
Sponsor company | PrestaShop SA |
How to test? | CI 🟢 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @tleon
All good, except for the services that should be moved from the core into here (see comment on the core PR)
be601c7
to
aaf8cfe
Compare
config/admin/services.yml
Outdated
prestashop.module.api.list.module_query_builder: | ||
class: 'PrestaShop\Module\APIResources\List\ModuleQueryBuilder' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prestashop.module.api.list.module_query_builder: | |
class: 'PrestaShop\Module\APIResources\List\ModuleQueryBuilder' | |
PrestaShop\Module\APIResources\List\ModuleQueryBuilder: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can, and should, still rely on FQCN as the service name
config/admin/services.yml
Outdated
class: '%prestashop.core.grid.data.factory.doctrine_grid_data_factory%' | ||
public: true | ||
arguments: | ||
- '@prestashop.module.api.list.module_query_builder' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- '@prestashop.module.api.list.module_query_builder' | |
- '@PrestaShop\Module\APIResources\List\ModuleQueryBuilder' |
472de9b
to
be0cf1e
Compare
be0cf1e
to
da15335
Compare
da15335
to
a2720b6
Compare
a2720b6
to
d949f68
Compare