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

Single enum variable validation message #115

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

Single enum variable validation message #115

wants to merge 2 commits into from

Conversation

thebitrock
Copy link

fieldName: { type: String, enum: ['A'] },
return message 'fieldName must be either or A.'

@codecov
Copy link

codecov bot commented May 6, 2020

Codecov Report

Merging #115 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #115   +/-   ##
=======================================
  Coverage   98.79%   98.79%           
=======================================
  Files           6        6           
  Lines         248      248           
=======================================
  Hits          245      245           
  Misses          3        3           
Impacted Files Coverage Δ
src/messages.js 89.65% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ed3f1ba...a4710e2. Read the comment docs.

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