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

Bugfix/ref check with null enum value #268

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

colossatr0n
Copy link

Fix $refs check when enum has null value.

Added null check for subSchema. When an enum has a null value, the $refs check fail since the subSchema variable will be null and the logic tries to access '$ref' of null.

dependabot bot and others added 2 commits June 4, 2021 22:24
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/commits)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Added null check for `subSchema`. When an enum has a `null` value, the $refs check fail since the `subSchema` variable will be `null` and the logic tries to access `'$ref'` of `null`.
@netlify
Copy link

netlify bot commented Jul 6, 2021

✔️ Deploy Preview for ajsf ready!

🔨 Explore the source changes: 7c84708

🔍 Inspect the deploy log: https://app.netlify.com/sites/ajsf/deploys/60e487c81c124b000770f42a

😎 Browse the preview: https://deploy-preview-268--ajsf.netlify.app/

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