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
Syncpolaris fixquery #5070
Syncpolaris fixquery #5070
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.
Hey @hitchikermn - I've reviewed your changes and they look great!
General suggestions:
- Ensure consistent naming conventions are applied throughout the entire codebase to avoid confusion.
- Review the handling of potentially undefined or null values in newly renamed queries and mutations to ensure robust error handling.
- Consider the impact of these changes on existing data and functionality to ensure backward compatibility where necessary.
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Docstrings: all looks good
Thanks for using Sourcery. We offer it for free for open source projects and would be very grateful if you could help us grow. If you like it, would you consider sharing Sourcery on your favourite social media? ✨
@@ -85,14 +85,14 @@ class CustomerContainer extends React.Component<FinalProps, State> { | |||
}); | |||
}; | |||
|
|||
const syncHistories = syncHistoriesQuery.syncHistories || []; |
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.
suggestion (edge_case_not_handled): Verify handling of empty or undefined syncHistoriesPolaris
.
Given the change to syncHistoriesPolaris
, ensure that all edge cases for empty or undefined values are handled appropriately to avoid runtime errors.
Quality Gate failedFailed conditions |
ISSUE
Context
change permission and query mutation