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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: change hasone relation error message #4290
feat: change hasone relation error message #4290
Conversation
Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test." |
Sorry for the closed PR's some misunderstanding occurred. |
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.
Thank you @sujeshthekkepatt for the pull request.
It looks like you have reformatted all code in the two files you are modified, this makes it pretty much impossible to review the changes. Please revert the formatting changes and modify only the relevant lines.
I am guessing that your editor/IDE is configured to automatically format the code on save, maybe using Prettier? You should disable that feature while working in LoopBack 3 codebase.
Also please keep all work in this pull request, DO NOT open a new one. We can help you to clean the git commit history once the changes look good.
You can run git revert HEAD
or git revert -n HEAD
to undo the formatting changes.
@bajtos thanks for the review. Sorry for the formatting problem. I will modify accordingly. I got a confusion on the linter and prettier. That's what happened. |
@bajtos seems there is a commit linter issue. Can you check the code now? |
@sujeshthekkepatt, the commit linter error is:
For details, please refer to our commit message guideline. Thanks! https://loopback.io/doc/en/contrib/git-commit-messages.html |
The current hasone error message is not appropriate one. So adds a better message.
d83b74e
to
b93187b
Compare
@bajtos any updates? |
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.
@sujeshthekkepatt, thanks for your PR. LGTM. I'd like to get at least one more reviews from the maintainers before landing.
@strongloop/loopback-maintainers, could you please review? Thanks!
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.
LGTM
@sujeshthekkepatt, thanks for your contribution. Your PR has landed! 馃帀 |
The current hasone error message is not appropriate one.
So adds a better message.
See more #4278
Checklist
馃憠 Read and sign the CLA (Contributor License Agreement) 馃憟
npm test
passes on your machine