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 body not serializing because of bigint #119

Merged
merged 2 commits into from
May 12, 2023

Conversation

SleeplessOne1917
Copy link
Member

I have a library that's dependent on the js client and it was getting errors because bigints cannot be serialized by JSON.stringify by default. This should fix that.

src/http.ts Outdated Show resolved Hide resolved
@dessalines dessalines merged commit c66211f into LemmyNet:main May 12, 2023
@dessalines
Copy link
Member

Nice, thx.

@dessalines
Copy link
Member

dessalines commented May 15, 2023

I merged this too hastily, you didn't test it out.

The back end fails with: invalid type: string "1", expected i64 on any of these requests. I'll fix this shortly.

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