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

Pass init data recursively #60

Merged
merged 1 commit into from
Nov 25, 2016
Merged

Pass init data recursively #60

merged 1 commit into from
Nov 25, 2016

Conversation

devsli
Copy link
Contributor

@devsli devsli commented Nov 25, 2016

I can see only three ways to solve the problem:

  1. Use global rules.initData (so you can fill it only once per page load)
  2. Use model initData property (so you need to redefine it for every validation)
  3. Pass the data recursively on every validate call (this PR)

fixes #59

@devsli devsli changed the title Pass init data recursively (fix #59) Pass init data recursively Nov 25, 2016
@ksafranski ksafranski merged commit 98c8715 into psvet:master Nov 25, 2016
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.

initData is not updated
2 participants