It is now possible to ignore items of missing rules.
This commit is contained in:
parent
53dff59c6a
commit
e73ac0af22
@ -299,9 +299,10 @@ class $MappedCollection2 extends $EventEmitter
|
||||
unless rule?
|
||||
@missingRule ruleName
|
||||
|
||||
# The flow has not been interrupted, `missingRule()` must have
|
||||
# created the rule.
|
||||
# If `missingRule()` has not created the rule, just keep this
|
||||
# item.
|
||||
rule = @_rules[ruleName]
|
||||
return unless rule?
|
||||
|
||||
# Checks if this is a singleton.
|
||||
@_assert(
|
||||
|
Loading…
Reference in New Issue
Block a user