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

Feature/75 Add boolean and date fields to validation #87

Merged
merged 15 commits into from
Jun 27, 2022

Conversation

mjtravers
Copy link
Contributor

@mjtravers mjtravers commented Jun 13, 2022

#75

Code Review Note: The unit test code coverage is inaccurate. It looks like the fecfile_validate_js/src/index.ts file is not getting picked up in the coverage calculation. see report here Will look at that separate from this ticket.

Technical note: Due to errors being thrown by the ajv validation library when loading the ajv-formats extension, the "format": "date" property has been replaced by "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$", which performs the same string check

@mjtravers mjtravers changed the title [WIP] Add boolean and date fields [WIP] Add boolean and date fields to validation Jun 22, 2022
@sonarcloud
Copy link

sonarcloud bot commented Jun 23, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

66.7% 66.7% Coverage
30.3% 30.3% Duplication

@mjtravers mjtravers changed the title [WIP] Add boolean and date fields to validation Add boolean and date fields to validation Jun 23, 2022
@mjtravers mjtravers changed the title Add boolean and date fields to validation Feature/75 Add boolean and date fields to validation Jun 23, 2022
schema/BUS_LAB_NON_CONT_ACC.json Show resolved Hide resolved
requirements.txt Show resolved Hide resolved
fecfile_validate_js/src/index.ts Show resolved Hide resolved
@mjtravers mjtravers requested a review from toddlees June 27, 2022 16:32
@mjtravers mjtravers merged commit 56d5f62 into develop Jun 27, 2022
@mjtravers mjtravers deleted the feature/75-schemas-to-use-boolean-and-date branch June 27, 2022 18:50
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