8000 Fixing Error Received When First Validator is a Custom Presence Validator by knittingdev · Pull Request #12 · rewinfrey/ActionLogic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixing Error Received When First Validator is a Custom Presence Validator #12

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

Merged

Conversation

knittingdev
Copy link
Contributor

Received <NoMethodError: undefined method 'any?' for nil:NilClass> when
validating with a presence validator before a type validator was
defined. This was because the reduction within the type validators did
not return the collection on next.

…dator

    Received <NoMethodError: undefined method 'any?' for nil:NilClass> when
    validating with a presence validator before a type validator was
    defined. This was because the reduction within the type validators did
    not return the collection on 'next'.
Copy link
Owner
@rewinfrey rewinfrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@knittingdev thank you for this patch! This looks 👍 Thank you also for the additional test cases 🙇

@rewinfrey rewinfrey merged commit 114570e into rewinfrey:master Dec 18, 2018
rewinfrey added a commit that referenced this pull request Dec 18, 2018
Based on @knittingdev's excellent patch #12
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.

2 participants
0