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
Controls: Remove ArrayControl #15788
Conversation
Nx Cloud ReportCI ran the following commands for commit f011a67. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch
Sent with 💌 from NxCloud. |
@@ -80,7 +75,6 @@ export type ControlType = | |||
| 'text'; | |||
|
|||
export type Control = | |||
| ArrayConfig |
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.
I suspect that technically this is a breaking change. Consumers could have been passing a separator
param which has been ignored since we switched to ObjectControl. Do we want a deprecation warning around this or just do it?
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.
KISS
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.
LGTM! great catch 🚀
@@ -80,7 +75,6 @@ export type ControlType = | |||
| 'text'; | |||
|
|||
export type Control = | |||
| ArrayConfig |
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.
KISS
What I did
The ArrayControl was replace with the ObjectControl in 6.2 - f0cf8bab. This cleans up the now unused code.