-
Notifications
You must be signed in to change notification settings - Fork 131
fix(rivetkit): standardize error metadata return type #3438
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
fix(rivetkit): standardize error metadata return type #3438
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
More templates
@rivetkit/actor
@rivetkit/cloudflare-workers
@rivetkit/core
@rivetkit/db
@rivetkit/framework-base
@rivetkit/next-js
@rivetkit/react
rivetkit
@rivetkit/sql-loader
@rivetkit/engine-runner
@rivetkit/engine-runner-protocol
commit: |
Code Review: Standardize Error Metadata Return TypeSummaryThis PR improves the consistency of error metadata handling by changing it from nullable to optional (TypeScript undefined vs null). This is a good change that aligns with TypeScript best practices and the BARE protocol specification. Positive Aspects
Code Quality ObservationsGood Practices
Minor Concerns
Test Coverage ConcernsCritical Gap: There are no tests that specifically validate error metadata handling. Recommended test cases:
Recommendations
ConclusionThis is a solid improvement that makes the codebase more consistent and aligns with TypeScript conventions. The main concern is the lack of test coverage for this critical change in behavior. Consider adding tests before merging to prevent regressions. Approval Status: Approve with recommendation to add tests |
0c93402
into
11-09-fix_rivetkit_remove_incorrect_getendpoint_call_in_metadata_handler

No description provided.