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

Use long for expires type #24

Merged
merged 2 commits into from
Jan 25, 2024
Merged

Use long for expires type #24

merged 2 commits into from
Jan 25, 2024

Conversation

MV-GH
Copy link
Owner

@MV-GH MV-GH commented Jan 25, 2024

No description provided.

@MV-GH MV-GH enabled auto-merge (squash) January 25, 2024 21:11
@MV-GH MV-GH merged commit 343b354 into master Jan 25, 2024
5 checks passed
@MV-GH MV-GH deleted the update_expires_type branch January 25, 2024 21:28
@dessalines
Copy link
Contributor

https://github.com/LemmyNet/lemmy-js-client/blob/main/copy_generated_types_from_lemmy.sh#L31

Is the unfortunate hack we use to convert the BigInt generated by the lemmy back end, to numbers. IMO there are so few ints vs longs, that you might as well just use long everywhere in this api client.

@MV-GH
Copy link
Owner Author

MV-GH commented Jan 26, 2024

I'll take that approach then

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