Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lveillard
Copy link
Member

@lveillard lveillard commented Jun 27, 2024

πŸš€ This description was created by Ellipsis for commit 2d528f1

Summary:

Minor fixes and added failing test case for multi-nested mutations and deletions.

Key points:

  • changelog.md: Updated changelog for version 0.10.24.
  • package.json: Bumped version to 0.10.24.
  • src/helpers.ts: Changed error to console.warn for unsupported multiple roles.
  • src/stateMachine/mutation/bql/enrichSteps/enrichChildren.ts: Updated ID generation logic using nanoid.
  • src/stateMachine/mutation/bql/preQuery.ts: Added handling for null entries in cache, improved object path handling, and added comments for clarity.
  • src/stateMachine/mutation/mutationMachine.ts: Minor refactor in enrich function.
  • src/stateMachine/query/surql/build.ts: Added error handling for multiple roles in parseFilter.
  • tests/unit/mutations/edges.ts: Added new test cases for multi-nested mutations and deletions.

Generated with ❀️ by ellipsis.dev

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to 2d528f1 in 48 seconds

More details
  • Looked at 713 lines of code in 8 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_I44q4GYPsFq00owH


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with πŸ‘ / πŸ‘Ž feedback, review rules, user-specific overrides, quiet mode, and more.


const originalRelation = role[SharedMetadata]?.inheritanceOrigin || value.name;

if ($things.length > 1) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing from throw new Error to console.warn reduces the visibility of a critical schema configuration issue and may allow the application to operate in an unintended state. Consider reverting this change to ensure that such configuration errors are explicitly handled and not overlooked.

@lveillard lveillard merged commit 25facf9 into main Jun 27, 2024
@lveillard lveillard deleted the fix-skip-creations branch June 27, 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.

2 participants