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

Improve type safety and error handling in sortLambdas #59

Open
coderabbitai bot opened this issue Feb 11, 2025 · 0 comments
Open

Improve type safety and error handling in sortLambdas #59

coderabbitai bot opened this issue Feb 11, 2025 · 0 comments

Comments

@coderabbitai
Copy link

coderabbitai bot commented Feb 11, 2025

Context

Currently, sortLambdas is designed to always contain the key of the group. However, the type system doesn't enforce this constraint.

Proposed Improvements

  1. Add TypeScript type safety to ensure sortLambdas keys match group types at compile time
  2. Add proper error handling with try-catch for runtime safety

References

Assignee

@Dracks

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

No branches or pull requests

0 participants