Skip to content

Intercepting data before validation #634

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

Open
nicklasb opened this issue Feb 3, 2016 · 1 comment
Open

Intercepting data before validation #634

nicklasb opened this issue Feb 3, 2016 · 1 comment

Comments

@nicklasb
Copy link
Member

nicklasb commented Feb 3, 2016

I am trying to edit a part of the model directly, the JSON itself.
My problem is that this means that a part of the schema expects an object.
I have found no nice way of intercepting the data before it reaches validation, adding a $validator lets me check that it is valid JSON, is would be great if I there could also affect the actual data in some way and convert the text to the object the validator expects..
Preferably without having to write my own add-on..

@Anthropic
Copy link
Member

@nicklasb any solution suggestions on this? Calculate add-on I added would cover this to a point I suspect.

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

3 participants