[GH-ISSUE #141] BigInt cache serialisation error #82

Closed
opened 2026-05-23 08:29:37 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @Mitsichury on GitHub (Aug 21, 2022).
Original GitHub issue: https://github.com/appy-one/acebase/issues/141

Originally assigned to: @appy-one on GitHub.

Hi :)
When filtering on an indexed BigInt value, it throws an error as a big int as no default way to be serialized.
The proposed solution work on serialisation but it does not work at all querying results.
I opened a draft PR with an example : https://github.com/appy-one/acebase/pull/140
Hope it can help you :)
Thank you !

Originally created by @Mitsichury on GitHub (Aug 21, 2022). Original GitHub issue: https://github.com/appy-one/acebase/issues/141 Originally assigned to: @appy-one on GitHub. Hi :) When filtering on an indexed BigInt value, it throws an error as a big int as no default way to be serialized. The proposed solution work on serialisation but it does not work at all querying results. I opened a draft PR with an example : https://github.com/appy-one/acebase/pull/140 Hope it can help you :) Thank you !
gitea-mirror 2026-05-23 08:29:37 -06:00
Author
Owner

@appy-one commented on GitHub (Aug 22, 2022):

Thanks! I'll take a look at your PR and what else needs work for queries to work with BigInts

<!-- gh-comment-id:1222516544 --> @appy-one commented on GitHub (Aug 22, 2022): Thanks! I'll take a look at your PR and what else needs work for queries to work with `BigInt`s
Author
Owner

@appy-one commented on GitHub (Sep 5, 2022):

I'll publish a new version later today with the fix!

<!-- gh-comment-id:1237001359 --> @appy-one commented on GitHub (Sep 5, 2022): I'll publish a new version later today with the fix!
Author
Owner

@appy-one commented on GitHub (Sep 5, 2022):

Fix has been published in v1.24.0, let me know if it works!
Thanks again for your PR and done research!

Sponsor AceBase Spread the word contribute

<!-- gh-comment-id:1237294292 --> @appy-one commented on GitHub (Sep 5, 2022): Fix has been published in v1.24.0, let me know if it works! Thanks again for your PR and done research! [![Sponsor AceBase](https://user-images.githubusercontent.com/26569719/168233053-8e56b243-4140-40ab-9a30-4cb3cc149bfe.svg)](https://github.com/sponsors/appy-one) [![Spread the word](https://user-images.githubusercontent.com/26569719/169265089-3d593555-e1ad-4390-986b-877ac2c38a47.svg)](https://twitter.com/intent/tweet?button=&url=https://github.com/appy-one/acebase&text=I'm+using+@AcebaseRealtime+in+my+project+to+make+my+life+easier!&button=) [![contribute](https://user-images.githubusercontent.com/26569719/169265318-30c4c6a5-7c89-46a0-a7a2-ef433a8192f4.svg)](https://github.com/appy-one/acebase#contributing)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/acebase#82
No description provided.