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

Syncpolaris fixquery #5070

Merged
merged 5 commits into from Mar 18, 2024
Merged

Syncpolaris fixquery #5070

merged 5 commits into from Mar 18, 2024

Conversation

hitchikermn
Copy link
Collaborator

ISSUE

Context

change permission and query mutation

Copy link

@sourcery-ai sourcery-ai bot left a 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? ✨

Share Sourcery

Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

@@ -85,14 +85,14 @@ class CustomerContainer extends React.Component<FinalProps, State> {
});
};

const syncHistories = syncHistoriesQuery.syncHistories || [];
Copy link

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.

Copy link

sonarcloud bot commented Mar 18, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
29.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@munkhsaikhan munkhsaikhan merged commit fb084ad into dev Mar 18, 2024
4 of 6 checks passed
@munkhsaikhan munkhsaikhan deleted the syncpolaris_fixquery branch March 18, 2024 16:48
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.

None yet

2 participants