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

Refactor validator-lookup to return primitive #32

Merged
merged 4 commits into from
Apr 25, 2020

Conversation

snewcomer
Copy link
Collaborator

@snewcomer snewcomer commented Apr 25, 2020

@snewcomer snewcomer self-assigned this Apr 25, 2020
@snewcomer snewcomer changed the title Use validator-lookup for tests Refactor validator-lookup to return primitive Apr 25, 2020
@snewcomer snewcomer added enhancement New feature or request bug Something isn't working labels Apr 25, 2020
}
return result;
})
: validation;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ref adopted-ember-addons/ember-changeset-validations#228

Returns primitive; otherwise if multiple validations, returns array (note above on line 47 was followed up to ensure an array was returned; not the first one)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant