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

Remove cached errors (recursion) after validation #212

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

geraintluff
Copy link
Owner

In #183, the recursion code left a property in the object (tv4_validation_errors_id, used to cache validation errors so they can be re-used when the object is revisited). This change is intended to fix it.

@ghost - I believe you wrote the original recursion-handling code, so I'd prefer to get a quick code-review from you before merging, if possible.

Also, don't try to cache errors (on non-existent property) at end of validation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant