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

Allow serializer.ts to handle branded types #3754

Closed
wants to merge 2 commits into from

Conversation

Aleksion
Copy link
Contributor

@Aleksion Aleksion commented Mar 12, 2025

Closes #3157

I think this might break a test that expects types to be widened (eg: from a string literal to a string) /createServerMiddleware.test-d.ts but I'd love a second pair of eyes.

This update should preserve both string literals and brands.

Copy link

nx-cloud bot commented Mar 12, 2025

View your CI Pipeline Execution ↗ for commit 65da130.

Command Status Duration Result
nx affected --targets=test:eslint,test:unit,tes... ❌ Failed 3m 41s View ↗
nx run-many --target=build --exclude=examples/*... ❌ Failed 1m 13s View ↗

☁️ Nx Cloud last updated this comment at 2025-03-12 17:42:49 UTC

@Aleksion Aleksion closed this Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

types: createServerFn does not accept branded strings
1 participant