-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: add pnr validators (refs KDK-48741) #129
Conversation
|
Validatorerna behöver dokumenteras här: Sedan vore det trevlig om validatorernas namn nämns i commit-meddelandet. Då syns dom tydligt i changelog sedan. Extra trevligt om det blir två commits. T.ex. |
packages/logic/src/services/ValidationService/Validators/CompareAgePnrValue.ts
Outdated
Show resolved
Hide resolved
packages/logic/src/services/ValidationService/Validators/CompareAgePnrValue.spec.ts
Outdated
Show resolved
Hide resolved
packages/logic/src/services/ValidationService/Validators/NotSamePnrValue.ts
Outdated
Show resolved
Hide resolved
packages/logic/src/services/ValidationService/Validators/CompareAgePnrValue.spec.ts
Outdated
Show resolved
Hide resolved
packages/logic/src/services/ValidationService/Validators/CompareAgePnrValue.spec.ts
Outdated
Show resolved
Hide resolved
packages/logic/src/services/ValidationService/Validators/CompareAgePnrValue.spec.ts
Outdated
Show resolved
Hide resolved
packages/logic/src/services/ValidationService/Validators/CompareAgePnrValue.ts
Outdated
Show resolved
Hide resolved
packages/logic/src/services/ValidationService/Validators/index.ts
Outdated
Show resolved
Hide resolved
91d3c25
to
ab1882e
Compare
ab1882e
to
a941a8e
Compare
a941a8e
to
84a5299
Compare
Adding validators for pnr:
v-validation.personnummerYounger
- Check that one pnr field value isnt't younger than another.v-validation.personnummerOlder
- Check that one pnr field value isnt't older than another.v-validation.personnummerNotSame
- Check that one pnr field value isn't the same as another.