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
Hello, the latest version breaks the async abilities
on this line "double negation" returns always true if result for this.valueFor is promise, the same happens in helpers so it is not possible to use with async helpers like (await (can ""))
Hello, the latest version breaks the async abilities
on this line "double negation" returns always true if result for this.valueFor is promise, the same happens in helpers so it is not possible to use with async helpers like
(await (can ""))
https://github.com/minutebase/ember-can/blob/master/addon/services/abilities.js#L74
my suggestion is not to use "!!" operator and just return result
related #20
The text was updated successfully, but these errors were encountered: