Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support different rule implementations #113

Open
ssube opened this issue Nov 2, 2019 · 0 comments
Open

support different rule implementations #113

ssube opened this issue Nov 2, 2019 · 0 comments

Comments

@ssube
Copy link
Owner

ssube commented Nov 2, 2019

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.

@ssube ssube self-assigned this Nov 2, 2019
@ssube ssube added this to the v0.9 milestone Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant