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

[JsonSchema] Rework Validation (part2) #651

Merged
merged 1 commit into from Sep 16, 2022

Conversation

Korbeil
Copy link
Member

@Korbeil Korbeil commented Sep 15, 2022

Followup from #640, part 2 !

We now have Constraints for all Validation rules. We need to create a Guesser that catches the objects that contains a sub-object (see Jane\Component\JsonSchema\Guesser\Validator\Object_\SubObjectValidator) and to handle this correctly in the Constraint generation.

This PR will contains:

  • Use theses Constraints to validate sub-models
  • Add tests on sub-models validation

@Korbeil Korbeil force-pushed the feature/rework-validation-2 branch 4 times, most recently from 93427f4 to 7796f92 Compare September 16, 2022 09:00
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.

None yet

1 participant