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

3 level composition broken #7

Closed
narkisr opened this issue Jul 14, 2013 · 3 comments
Closed

3 level composition broken #7

narkisr opened this issue Jul 14, 2013 · 3 comments

Comments

@narkisr
Copy link

narkisr commented Jul 14, 2013

It seems that for 3 levels the composition of defvalidatorset is broken:

(defvalidatorset lowest
  :a [v/required] 
  )

(defvalidatorset middle
  :b lowest 
  )

(defvalidatorset upper
  :c middle
  )

(:bouncer.core/errors (second (bouncer.core/validate {:c {:b {:a 1}}} vsphere.validations/upper))); => {[:c :b] {:a ("a must be present")}}
@theleoborges
Copy link
Owner

Hi,

Thanks for the bug report. I believe I've found the source of the issue and expect to have a fix for it later today.

Cheers,

@narkisr
Copy link
Author

narkisr commented Jul 16, 2013

Thanks

@theleoborges
Copy link
Owner

Hi,

I pushed [bouncer "0.2.3-beta4"] to clojars. It contains this fix. It'd be great if you could give it a try.

Thanks

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

No branches or pull requests

2 participants