- 
                Notifications
    
You must be signed in to change notification settings  - Fork 18
 
feat(next): implement file validation #168
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
Conversation
| 
           Leaving this as draft for now since even though file validation works across the board, it causes some regression with the test suite we run against. Digging..  | 
    
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.
Nice job here!
Most of the code looks good and from the testing it's also working nicely. I've left:
- some minor comments, not blockers
 - a suggestion for refactoring and simplifying the type validation logic (can be done separately)
 - a blocker comment about keeping the consistency on how we call the individual validator functions
 
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.
Looks good!
This PR adds the missing file validation. This is not really related to json schema in general but more just something that we support with jsf.
The goal was to mimic what we do in v0 and to make the failing tests pass.