-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Allow adding custom transform filters #99
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dynamicDefaults
allow users to add their own defaults functions by exportingDEFAULTS
in the keyword, as so: https://github.com/epoberezkin/ajv-keywords/blob/master/keywords/dynamicDefaults.js#L49However,
transform
does not export the transform variable - https://github.com/epoberezkin/ajv-keywords/blob/master/keywords/transform.js#L4 - and so there's literally no way for users to add custom transformations.I think you should export the
transform
variable like you do indynamicDefaults
and allow people to add their own transformations, rather than bolting in other transformations like in #95 or #66.Thanks!
The text was updated successfully, but these errors were encountered: