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

fix: Make serializeService work with services that don't throw #31

Merged
merged 2 commits into from
Dec 12, 2023

Conversation

lhchavez
Copy link
Contributor

Turns out that when the errors field is TNever, the field is not emitted!

This change allows infallible services to service.

Turns out that when the `errors` field is `TNever`, the field is not
emitted!

This change allows infallible services to service.
@lhchavez lhchavez enabled auto-merge (squash) December 12, 2023 03:40
router/builder.ts Outdated Show resolved Hide resolved
@lhchavez lhchavez enabled auto-merge (squash) December 12, 2023 03:40
@lhchavez lhchavez merged commit 105cc11 into main Dec 12, 2023
4 checks passed
@lhchavez lhchavez deleted the lh-make-serializable-service-with-infallibles-work branch December 12, 2023 03:57
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