-
Notifications
You must be signed in to change notification settings - Fork 203
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
EZP-30462: Unified Field Type service tag names #2653
Conversation
.../EzPublishCoreBundle/DependencyInjection/Compiler/FieldTypeParameterProviderRegistryPass.php
Outdated
Show resolved
Hide resolved
This must be rebased |
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.
For twig helpers we choosed ez
prefix so I think that we should be consequent and use it also for tags, instead of ezplatform
@alongosz @ViniTou @webhdx @Nattfarinn what do you think? |
Fair question. It does make sense to rename tags to I am 33.33% for But, to beat next question, I wouldn't go that far to prefix non-FQCN services (and event names in case we keep |
+1 for the |
.../EzPublishCoreBundle/DependencyInjection/Compiler/FieldTypeParameterProviderRegistryPass.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Base/Container/Compiler/FieldTypeCollectionPass.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Base/Container/Compiler/Search/FieldRegistryPass.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Base/Container/Compiler/Storage/Legacy/FieldValueConverterRegistryPass.php
Outdated
Show resolved
Hide resolved
Correct prefix is |
@Nattfarinn fixed, also @alongosz @pawbuj |
Testing discovered https://jira.ez.no/browse/EZEE-2801. |
Btw, stumbled upon the ez star rating issue: https://jira.ez.no/browse/EZP-30677. |
…field_type.indexable`
…ezplatform.field_type.legacy_storage.converter`
…latform.field_type.parameter_provider`
…field_type.indexable` - cr
…ezplatform.field_type.legacy_storage.converter` - cr
…latform.field_type.parameter_provider` - cr
@micszo resolved conflict with base branch. |
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.
Tested together with:
ezsystems/repository-forms#292
ezsystems/ezplatform-matrix-fieldtype#15
Why wasn't |
Good catch @emodric, we forgot about this one 😅 I will rename it in follow-up PR. |
master
Tags used to register Field Type features in the dependency injection container should be consistent and follow Symfony convention (snake case)
Related PR:
ezsystems/repository-forms#292
ezsystems/ezplatform-matrix-fieldtype#15
QA: We have to make sure that all field types work correctly
TODO:
$ composer fix-cs
).