Closed MV-GH closed 5 months ago
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.
I'll take that approach then
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.