-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Introduced a new "design" global option #209
Conversation
by the new "design -> assets -> css" and "design -> assets -> js" options The deprecation should be transparent and all applications should keep working as previously. In addition, this commits splits the DI extension class into smaller and easier to manage sections.
f18b3c7
to
f214971
Compare
->then(function ($v) { | ||
// if the new option is defined, don't override it with the legacy option | ||
if (!isset($v['design']['assets']['js'])) { | ||
$v['design']['assets']['js'] = $v['assets']['js']; |
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.
Won't this (and other) instruction throw an error if the $v['design']
is not set yet ? 😕
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've changed it here: 982f401 Let me know if it's better that way. Thanks.
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.
Great 👍
👍 Everything sounds well to me |
|
||
->children() | ||
->variableNode('list_actions') | ||
->info('DEPRECATED: use the "actions" option of the "list" view.') |
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.
Shouldn't we throw some E_USER_DEPRECATED
errors instead? Would it be too intrusive?
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.
Indeed I think it may be too intrusive.
@Pierstoval I'm leaving the |
Everything seems well, I think you can merge this ! The BC break convenience is really good ! |
This is the first issue related to #208