-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
Ajv is in strictmode #169
Comments
How does it make it impossible? Can you please elaborate a little bit more? |
Ok I have to rephrase that. We can’t use user defined keywords. Like for example when I want to use a „visible“ (or any other user defined keyword) keyword on an object for later usage. Ajv throws an error on unknown keywords, and since we don’t have a way to add custom keywords it’s impossible to use that feature. Ajv enabled strict mode in some release I don’t quite remember but there’s a possibility you didn’t catch that change. Greetings from Germany and sorry for my mediocre English 😅 |
Wouldn't it be better to support adding custom keywords? Strict mode brings a lot of good. I don't think I want to disable it. |
I guess that’s also a possibility, or let the user decide if he wants to disable strict mode completely or wants to add custom keywords. |
And yeah strict mode brings a lot of good stuff but sometimes you gotta use them custom keywords 😁 |
I think we could add a |
You can assign this issue to me if you want to. I‘m sure I can add this feature to the codebase. |
Ajv is in strictmode which makes the usage of validation keywords impossible.
Solution:
Disable strictmode for ajv.
The text was updated successfully, but these errors were encountered: