-
Notifications
You must be signed in to change notification settings - Fork 30
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: log the name of the message if it is absent #304
Conversation
There was a problem hiding this 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.
Hey @derberg i have not added this feature, we need to make changes in |
@ibishal no need to add anything to generator. You simply need to introduce "parameter" feature. So let's say it is called makes sense? |
Done @derberg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you tested it manually as just looking at the code I see it errors.
you always have to check manually or at least have a good coverage of integration tests
the basic thing that I see is missing:
messageRuntimeValidation
parameter is not added to package.json to generator config- no info in readme
I have done manual testing for it. you can see it in the sc of pr description
It was added in the parameter of generator config in package.json
will add it |
Do we need integration test here @derberg |
Co-authored-by: Lukasz Gornicki <[email protected]>
I think I mixed the issues scope :( in general idea was that best DX is that user gets a feedback during generation, and not once the template is generated and code build and running sorry but instead of parameter I think we need wdyt? |
Looks Good |
closing, no further activity from the contributor |
@derberg, sorry from my side i want to finish it, can we open this? |
just reopen new PR but updated according to previous feedback |
Description
Added a param
messageRuntimeValidation
which will log the messageId's if its missing and if false then it will not warn anything(by default it will be true)Related issue(s)
#197