Uh oh!
There was an error while loading. Please reload this page.
build: add tooling to avoid jit issues with empty NgModule definitions - #13843
Conversation
* Expands the decorator validation rule to allow us to run a regex against all the arguments of a decorator. This allows us to guard against cases like angular#13792. * Fixes a similar issue as angular#13792 in the `LayoutModule` which was caught after the new changes to the rule.
Didn't we chat about it just being something that should technically work, but we just have no idea how the given team ran into issues with it. or did @mmalerba already get a response about why this happened? |
crisbeto
commented
Oct 27, 2018
I see, it just feels a bit odd to enforce something that is technically supported by Angular, but broke for someone potentially doing something unexpected we don't are aware of. It would be just good to understand when it could break, and report an issue on Angular. I don't feel too strong about it.. the tooling shouldn't hurt either. |
mmalerba
commented
Oct 30, 2018
I did talk to them, they mentioned that they might have had Ivy enabled at the time, but Misko didn't think it seemed like an Ivy issue. It's also possible it was a change Angular merged but didn't release yet, or maybe the team was just doing something really crazy. Whatever the reason, I don't think it hurts for us to specify the |
angular#13843) * Expands the decorator validation rule to allow us to run a regex against all the arguments of a decorator. This allows us to guard against cases like angular#13792. * Fixes a similar issue as angular#13792 in the `LayoutModule` which was caught after the new changes to the rule.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
{}to@NgModulesince passing nothing breaks in JIT mode #13792.{}to@NgModulesince passing nothing breaks in JIT mode #13792 in theLayoutModulewhich was caught after the new changes to the rule.