-
-
Notifications
You must be signed in to change notification settings - Fork 713
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
feat: lint files which are changed with strict rules #1523
feat: lint files which are changed with strict rules #1523
Conversation
Our Pull Request Approval ProcessWe have these basic policies to make the approval process smoother for our volunteer team. Testing Your CodePlease make sure your code passes all tests. Our test code coverage system will fail if these conditions occur:
The process helps maintain the overall reliability of the code base and is a prerequisite for getting your PR approved. Assigned reviewers regularly review the PR queue and tend to focus on PRs that are passing. ReviewersWhen your PR has been assigned reviewers contact them to get your code reviewed and approved via:
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
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.
Congratulations on making your first PR! 🎊 If you haven't already, check out our Contributing Guidelines and PR Reporting Guidelines to ensure that you are following our guidelines for contributing and creating PR.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1523 +/- ##
========================================
Coverage 96.23% 96.23%
========================================
Files 133 133
Lines 3404 3404
Branches 1031 1031
========================================
Hits 3276 3276
Misses 123 123
Partials 5 5 ☔ View full report in Codecov by Sentry. |
This pr needs to change the following files
so, I'd request a maintainer to allow |
hey @palisadoes can you please look into this? |
@devsargam We are aware of an issue with UpdateUserInput, but for now can you update your schema file to pass the introspection test. |
@EshaanAgg @sumitra19jha Can you review this PR? |
Should I edit the schema file myself or is there a pr ongoing for that? |
The fix was merged last night, so I think you just need to update your files. |
@devsargam The recent merge will fix some of the introspection errors, but not all, you just need to manually add UpdateUserInput in schema and then it'll pass. I need to investigate further into this part. |
src/GraphQl/Mutations/mutations.ts
Outdated
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.
Why did you deleted the fields ?
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.
There was some problem with graphQL in the latest develop branch commit so, I had to copy the mutation from other from which tests were passing
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.
- You need to restore this and get the tests to pass in a valid way.
- The fact that tests pass doesn't mean that they properly verify functionality.
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.
as mentioned in this #1525 (comment) should I follow the same statement or???
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.
- There have been many merged PRs since this one was opened. All their tests passed and the lines that you removed are maintained.
- Please merge with the latest upstream, and fix your tests to comply with the code base. You are removing functionality that must be maintained
Hey, mentors can someone help with this pr?
How should I proceed can someone help? |
|
Are you still working on this? |
Yes. I am facing errors on the graphql test |
Hye, @palisadoes sir, can I close this pr and open another one. I want to try a bit different approach & this pr also has merge conflicts |
No.
Create a new local branch with your new approach. Merge it into the branch for this PR when ready. |
NOTE Read very carefully
This will put your PR at risk of extensive merge conflicts. Do the following IN THIS ORDER:
This will help to reduce the number of existing and future merge conflicts for your PR. |
Can you do the changes as suggested, or can you find no other way of solving the issue without a new PR? |
Sir, I tried doing it locally but it's pretty difficult as my branch is behind the latest develop by a lot. So, if possible can I release a new pr? |
OK. Closing |
What kind of change does this PR introduce?
feature
Issue Number:
Fixes #1427
Did you add tests for your changes?
No
Summary
Improved gh workflow to only check those files which are changed to lint
Does this PR introduce a breaking change?
Yes
Have you read the contributing guide?
Yes