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
While the base SchemaRule can do a lot, future rules may need more logic or use a different kind of schema. This will be especially important with #6 and external rules.
Wire up DI through https://github.com/ssube/noicejs and await container.create(rule.type) should solve that neatly. Rule modules can provide DI modules if they have additional Parser or Rule classes.
The text was updated successfully, but these errors were encountered:
While the base
SchemaRule
can do a lot, future rules may need more logic or use a different kind of schema. This will be especially important with #6 and external rules.Wire up DI through https://github.com/ssube/noicejs and
await container.create(rule.type)
should solve that neatly. Rule modules can provide DI modules if they have additionalParser
orRule
classes.The text was updated successfully, but these errors were encountered: