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

feat(start): serialize BigInt for server functions #3294

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ryanagillie
Copy link

Adds the ability to serialize / parse bigints with serverFns.

I was using BigInts as table IDs with postgres and was getting errors when sending over rows with createServerFn, this should fix that.

@ryanagillie ryanagillie changed the title Add BigInt Serialization feat(start): serialize BigInt for server functions Jan 31, 2025
Copy link

nx-cloud bot commented Feb 3, 2025

View your CI Pipeline Execution ↗ for commit 197c71b.

Command Status Duration Result
nx affected --targets=test:eslint,test:unit,tes... ✅ Succeeded 4m 38s View ↗
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 1m 23s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-03 04:35:30 UTC

Copy link

pkg-pr-new bot commented Feb 3, 2025

Open in Stackblitz

More templates

@tanstack/arktype-adapter

npm i https://pkg.pr.new/@tanstack/arktype-adapter@3294

@tanstack/create-router

npm i https://pkg.pr.new/@tanstack/create-router@3294

@tanstack/directive-functions-plugin

npm i https://pkg.pr.new/@tanstack/directive-functions-plugin@3294

@tanstack/create-start

npm i https://pkg.pr.new/@tanstack/create-start@3294

@tanstack/eslint-plugin-router

npm i https://pkg.pr.new/@tanstack/eslint-plugin-router@3294

@tanstack/history

npm i https://pkg.pr.new/@tanstack/history@3294

@tanstack/react-cross-context

npm i https://pkg.pr.new/@tanstack/react-cross-context@3294

@tanstack/react-router

npm i https://pkg.pr.new/@tanstack/react-router@3294

@tanstack/react-router-with-query

npm i https://pkg.pr.new/@tanstack/react-router-with-query@3294

@tanstack/router-cli

npm i https://pkg.pr.new/@tanstack/router-cli@3294

@tanstack/router-core

npm i https://pkg.pr.new/@tanstack/router-core@3294

@tanstack/router-devtools

npm i https://pkg.pr.new/@tanstack/router-devtools@3294

@tanstack/router-generator

npm i https://pkg.pr.new/@tanstack/router-generator@3294

@tanstack/router-plugin

npm i https://pkg.pr.new/@tanstack/router-plugin@3294

@tanstack/router-utils

npm i https://pkg.pr.new/@tanstack/router-utils@3294

@tanstack/router-vite-plugin

npm i https://pkg.pr.new/@tanstack/router-vite-plugin@3294

@tanstack/server-functions-plugin

npm i https://pkg.pr.new/@tanstack/server-functions-plugin@3294

@tanstack/start

npm i https://pkg.pr.new/@tanstack/start@3294

@tanstack/start-api-routes

npm i https://pkg.pr.new/@tanstack/start-api-routes@3294

@tanstack/start-client

npm i https://pkg.pr.new/@tanstack/start-client@3294

@tanstack/start-config

npm i https://pkg.pr.new/@tanstack/start-config@3294

@tanstack/start-plugin

npm i https://pkg.pr.new/@tanstack/start-plugin@3294

@tanstack/start-router-manifest

npm i https://pkg.pr.new/@tanstack/start-router-manifest@3294

@tanstack/start-server

npm i https://pkg.pr.new/@tanstack/start-server@3294

@tanstack/start-server-functions-client

npm i https://pkg.pr.new/@tanstack/start-server-functions-client@3294

@tanstack/start-server-functions-fetcher

npm i https://pkg.pr.new/@tanstack/start-server-functions-fetcher@3294

@tanstack/start-server-functions-handler

npm i https://pkg.pr.new/@tanstack/start-server-functions-handler@3294

@tanstack/start-server-functions-server

npm i https://pkg.pr.new/@tanstack/start-server-functions-server@3294

@tanstack/start-server-functions-ssr

npm i https://pkg.pr.new/@tanstack/start-server-functions-ssr@3294

@tanstack/valibot-adapter

npm i https://pkg.pr.new/@tanstack/valibot-adapter@3294

@tanstack/virtual-file-routes

npm i https://pkg.pr.new/@tanstack/virtual-file-routes@3294

@tanstack/zod-adapter

npm i https://pkg.pr.new/@tanstack/zod-adapter@3294

commit: 197c71b

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.

2 participants