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

fix: report correct range values in error diagnostics for YAML files #1126

Merged

Conversation

aeworxet
Copy link
Contributor

@aeworxet aeworxet commented Aug 5, 2024

This PR updates @asyncapi/parser to version 3.2.2 in which forceful normalization of YAML files to JSON format is removed. That change allows Parser not to be misled anymore into thinking it's dealing with a JSON file instead of a YAML one, therefore paving the way for Studio to report correct range values in error diagnostics for YAML files.

Related to asyncapi/parser-js#936, asyncapi/parser-js#1012

Copy link

changeset-bot bot commented Aug 5, 2024

🦋 Changeset detected

Latest commit: 416e9d9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
studio-next Patch
@asyncapi/studio Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Aug 5, 2024

Deploy Preview for studio-next ready!

Name Link
🔨 Latest commit 416e9d9
🔍 Latest deploy log https://app.netlify.com/sites/studio-next/deploys/66b033d90502b80008d84ef4
😎 Deploy Preview https://deploy-preview-1126--studio-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Aug 5, 2024

Deploy Preview for modest-rosalind-098b67 ready!

Name Link
🔨 Latest commit 416e9d9
🔍 Latest deploy log https://app.netlify.com/sites/modest-rosalind-098b67/deploys/66b033d9086eb50008670bfe
😎 Deploy Preview https://deploy-preview-1126--modest-rosalind-098b67.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Aug 5, 2024

Deploy Preview for asyncapi-studio-design-system ready!

Name Link
🔨 Latest commit 416e9d9
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-studio-design-system/deploys/66b033d9438b64000885cdaf
😎 Deploy Preview https://deploy-preview-1126--asyncapi-studio-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

sonarcloud bot commented Aug 5, 2024

@aeworxet
Copy link
Contributor Author

aeworxet commented Aug 5, 2024

@asyncapi/bounty_team

@aeworxet
Copy link
Contributor Author

aeworxet commented Aug 9, 2024

/ptal

@asyncapi-bot
Copy link
Contributor

@Amzani @magicmatatjahu @KhudaDad414 Please take a look at this PR. Thanks! 👋

Copy link
Collaborator

@Amzani Amzani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aeworxet
Copy link
Contributor Author

/rtm

@asyncapi-bot asyncapi-bot merged commit 943fec1 into asyncapi:master Aug 13, 2024
23 checks passed
@aeworxet aeworxet deleted the fix-report-correct-range-values branch August 13, 2024 21:03
@asyncapi-bot asyncapi-bot added the bounty AsyncAPI Bounty label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Completed
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants