Skip to content

Conversation

@AhmedHanyGamal
Copy link
Contributor

What kind of change does this PR introduce?
It simply adds a test case in the Mutual Dependency lesson

Issue Number:

Summary
The “Mutual Dependency” lesson in Tour of JSON Schema lacked a proper test case to illustrate the difference between a mutual-dependency schema and one that simply uses the required keyword
Because of that, a schema could pass the lesson even though it should have failed or behaved differently under “mutual dependency” rules

I solved this issue by adding the following test case to the lesson

{
  "name": "John Doe"
}

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.

Mutual Dependency lesson is missing a test case

1 participant