Console command for users to merge field definitions #14554
-
In Craft 5 Plugin Upgrade Guide in notion.site, there is an announcement:
and I couldn't find further information about it in repos, roadmap, ... I have two questions about it:
I appreciate more details if details are planned yet. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 22 replies
-
We’re planning on adding a |
Beta Was this translation helpful? Give feedback.
-
@brandonkelly please forgive me if I missed something elsewhere, but has there been any movement on this? |
Beta Was this translation helpful? Give feedback.
-
Just tagged Craft 5.3.0-beta.1 with new See the PRs for a full description of how they work. When it comes to cleaning up your entry types after upgrading to Craft 5, I’d recommend taking the following approach:
Both We’re targeting Craft 5.3 for August 6. If you want to help test in the meantime, change your "craftcms/cms": "^5.3.0-beta.1", Then run |
Beta Was this translation helpful? Give feedback.
-
@brandonkelly Will CKEditor fields gain |
Beta Was this translation helpful? Give feedback.
-
@brandonkelly Are there any plans to support usage of the command like with more than two fields at once? Would really speed up the process for us.
Currently, all the fields after the first two are ignored. |
Beta Was this translation helpful? Give feedback.
-
@brandonkelly I know that Redactor type is deprecated, but I cannot change all fields faster. And I got the message "Redactor fields don’t support merging." while I run the command fields/merge. Is it possible to fix it? |
Beta Was this translation helpful? Give feedback.
-
@brandonkelly I also noticed that the craft\fields\Table field do not implement the interface MergeableFieldInterface, is it possible to fix this? Thanks! |
Beta Was this translation helpful? Give feedback.
Just tagged Craft 5.3.0-beta.1 with new
fields/merge
andentry-types/merge
commands 🎉See the PRs for a full description of how they work.
When it comes to cleaning up your entry types after upgrading to Craft 5, I’d recommend taking the following approach:
fields/merge
for each one.