Bugfix/ref check with null enum value#268
Open
colossatr0n wants to merge 2 commits intohamzahamidi:mainfrom
Open
Bugfix/ref check with null enum value#268colossatr0n wants to merge 2 commits intohamzahamidi:mainfrom
colossatr0n wants to merge 2 commits intohamzahamidi:mainfrom
Conversation
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`.
|
✔️ 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/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix $refs check when enum has
nullvalue.Added null check for
subSchema. When an enum has anullvalue, the $refs check fail since thesubSchemavariable will benulland the logic tries to access'$ref'ofnull.