Skip to content

Define warning#170

Merged
codeZe-us merged 2 commits intoBoxkit-Labs:mainfrom
quickweb-stack:define-warning
Mar 26, 2026
Merged

Define warning#170
codeZe-us merged 2 commits intoBoxkit-Labs:mainfrom
quickweb-stack:define-warning

Conversation

@quickweb-stack
Copy link
Copy Markdown

Close: #128
Implemented the routing-side Warning discriminated union in [types.ts] and updated routing code to consume that local type in [extract.ts] and [memo.ts]. The union now gives typed variants for normalization warnings, invalid destinations, unsupported memo types, and the remaining simple warning codes, which makes switch/case handling exhaustive and avoids raw stringly-typed warning shapes in the routing pipeline.

I also verified the changed imports and reviewed the diff. I attempted npm run build in packages/core-ts, but verification is currently blocked by an existing dependency problem in tsup: Cannot find module 'resolve-from', so I couldn’t complete a full type/build check yet.

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 26, 2026

@quickweb-stack Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@quickweb-stack
Copy link
Copy Markdown
Author

Done, #170

@codeZe-us codeZe-us self-requested a review March 26, 2026 22:37
Copy link
Copy Markdown
Contributor

@codeZe-us codeZe-us left a comment

Choose a reason for hiding this comment

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

@quickweb-stack this is okay

@codeZe-us codeZe-us merged commit 20be66a into Boxkit-Labs:main Mar 26, 2026
1 check passed
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.

Define Warning discriminated union in src/routing/types.ts

3 participants