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: parser will throw an error when address is null/no param but param is present #1011

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ibishal
Copy link

@ibishal ibishal commented Jun 11, 2024

Description

Now when there is parameter but the address not contain any, then it will throw an error

Related issue(s)
Fixes #875

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

Copy link

sonarcloud bot commented Jun 11, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@ibishal ibishal changed the title added condition to check parameter is null or param.length === 0 Fix: parser will throw an error when address is null/no param but param is present Jun 11, 2024
@ibishal ibishal changed the title Fix: parser will throw an error when address is null/no param but param is present fix: parser will throw an error when address is null/no param but param is present Jun 13, 2024
@smoya
Copy link
Member

smoya commented Jun 17, 2024

@ibishal the Spectral rule should apply for AsyncAPI spec v3. Not necessary for v2 (unless no cost of adding)

@smoya
Copy link
Member

smoya commented Jun 17, 2024

FYI @ibishal, this PR is part of #1019 and by that, part of this Bounty Program issue. If you want to participate in the Bounty Program and get a reward ($), please express your interest in #1016 and include an outline of the work you will do for each of the rules that should be added.

@ibishal
Copy link
Author

ibishal commented Jun 17, 2024

FYI @ibishal, this PR is part of #1019 and by that, part of this Bounty Program issue.

i had created this PR solving the issue #875 (it is overlapping with issue #1019 ), should i close this ?

If you want to participate in the Bounty Program and get a reward ($), please express your interest in #1016 and include an outline of the work you will do for each of the rules that should be added.

i have sent a basic outline in slack(dms), should i put it in the issue too(more briefly outlining each rules)
cc @smoya

@smoya
Copy link
Member

smoya commented Jun 17, 2024

i have created this PR solving the issue #875 (it is overlapping with issue #1019 )

One is a bug, the other is the issue that mentions to work on such a bugfix as part of the bounty program.

i had created this PR solving the issue #875 (it is overlapping with issue #1019 ), should i close this ?

You should follow standard procedures. Express your desire of working on such an issue, say how would you do with each of the tasks that are part of the bounty issue and not only with one. I will choose the right person based on that info.

@smoya
Copy link
Member

smoya commented Jun 20, 2024

Are you gonna include the rule for v3?

@ibishal
Copy link
Author

ibishal commented Jun 20, 2024

@smoya should I ?,see the comment made by @aeworxet in the bounty issue

@smoya
Copy link
Member

smoya commented Jun 20, 2024

@smoya should I ?,see the comment made by @aeworxet in the bounty issue

Of course, you can work in any of the issues you want, that doesn't mean it is assigned to you. We only assign issues in programs such as Bounty, GSoC, etc.

Meaning other people is also free to work in the same one and send a PR in parallel.

@ibishal
Copy link
Author

ibishal commented Jun 20, 2024

@smoya this PR is ready for review

Copy link

This pull request has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this pull request, add a comment with detailed explanation.

There can be many reasons why some specific pull request has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this pull request forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions bot added the stale label Oct 19, 2024
@aeworxet
Copy link
Contributor

aeworxet commented Dec 5, 2024

@ibishal

@smoya this PR is ready for review

A PR cannot be considered ready for review while it has failing tests and conflicts.

@github-actions github-actions bot removed the stale label Dec 6, 2024
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.

Parser do not validate and throw error when parameters are provided but address is null
3 participants