-
Notifications
You must be signed in to change notification settings - Fork 89
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 Certificates store and validation #2072
Conversation
@@ -3,6 +3,7 @@ import { registerDecorator, ValidationArguments, ValidationOptions } from 'class | |||
import Logger from '../common/logger' | |||
|
|||
const logger = Logger('registration.validators') | |||
|
|||
export function IsCsr(validationOptions?: ValidationOptions) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do I get it right, that we want to introduce the same method for certificate? Also, what are we particularly interested in validating inside CertificateContainsFields
?
packages/backend/src/nest/storage/certificates/certificates.store.ts
Outdated
Show resolved
Hide resolved
At this stage, I've moved logic related to certificates out of storage service into their own store.
|
At this step automatic tests are passing and the app seemed to work fine when tested manually. |
This reverts commit 73c4f8d.
This reverts commit 64d64c0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure that e2e tests pass on at least one desktop OS
Pull Request Checklist
(Optional) Mobile checklist
Please ensure you completed the following checks if you did any changes to the mobile package: