You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a directive returns noChange any nested directive value it might otherwise return should be unchanged. Currently, the resolveDirective helper does not handle noChange and treats this as a value that should clear the nested directive. The nested directive gets removed and then re-created if it is subsequently returned. This prevents, for example, the guard directive from being able to guard a nested directive from running.
To address this, resolveDirective can special case noChange to bail early and simply not process any nested directives.
The text was updated successfully, but these errors were encountered:
When a directive returns
noChange
any nested directive value it might otherwise return should be unchanged. Currently, theresolveDirective
helper does not handlenoChange
and treats this as a value that should clear the nested directive. The nested directive gets removed and then re-created if it is subsequently returned. This prevents, for example, theguard
directive from being able to guard a nested directive from running.To address this,
resolveDirective
can special casenoChange
to bail early and simply not process any nested directives.The text was updated successfully, but these errors were encountered: