- Issue created by @pdureau
- First commit to issue fork.
- Status changed to Needs review
7 months ago 2:34pm 13 April 2024 - 🇫🇷France just_like_good_vibes PARIS
Hello,
All modified code is done in related Issue #3440319 🐛 [2.0.0-alpha2] Formatters: functional feedbacks from alpha1 Needs review .All answers to questions here :
- Comment(s) added in hook_field_formatter_info_alter in .module
- All cache invalidation removed in .module, also because source plugins no longer depend on bundle. cache invalidation in the event subscriber is needed to respond to modeling modifications without needing to clear the cache in order to see the corresponding source plugins appearing or disappearing.
- the Mapping you are challenging had bad comments. it is in fact a mapping between ui patterns prop types and data types (e.g. types for props). So it should be ok, right? should we provide a mechanism to let eventual new prop types from contrib be handled ?
- PHPMD Naming annotations removed.
- The number of plugins has been reduced to reflect the triplets (entity type, field_name, property name). bundles are managed in a more subtle way.
- Status changed to Needs work
7 months ago 1:22pm 15 April 2024 - 🇫🇷France pdureau Paris
Comment(s) added in hook_field_formatter_info_alter in .module
✅ Great.
All cache invalidation removed in .module, also because source plugins no longer depend on bundle. cache invalidation in the event subscriber is needed to respond to modeling modifications without needing to clear the cache in order to see the corresponding source plugins appearing or disappearing.
✅ OK, got it.
the Mapping you are challenging had bad comments. it is in fact a mapping between ui patterns prop types and data types (e.g. types for props). So it should be ok, right?
✅ Mapping between ui patterns prop types and typed data types (so, field properties types) is the way to go.
should we provide a mechanism to let eventual new prop types from contrib be handled ?
Interesting. Let's talk about that.
PHPMD Naming annotations removed.
❌ not yet :)
$ grep -r SuppressWarnings.*PHPMD | wc -l 28
The number of plugins has been reduced to reflect the triplets (entity type, field_name, property name). bundles are managed in a more subtle way.
✅ that's wonderful.
- Status changed to Needs review
7 months ago 2:36pm 15 April 2024 - 🇫🇷France just_like_good_vibes PARIS
PHPMD Naming annotations finally removed :)
(still done in issue #3440319 🐛 [2.0.0-alpha2] Formatters: functional feedbacks from alpha1 Needs review ) - Status changed to Fixed
7 months ago 3:21pm 16 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.