This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-11
Channels
Flakiness in XT In Memory JAR
We are using go to interface with the XT, and have observed flakiness in parsing edn using "
. The specific use case in umarshaling xt/id
into an id
string, but an error we get is:
Unable to decode #xtdb/id "4f555451eee3d3dccd4243edcb5970d904ff1137" into string
Thoughts on why this might be?Hey @U05EY098T09 I've not used that library before or indeed written any golang myself (I suppose this may be a good opportunity to learn 🙂), but I suspect you would need to study this test file and follow its example of creating a custom tag decoder: https://github.com/go-edn/edn/blob/d3554ca0b0a3a3418219de6cdb09c5181f0a9c53/tag_test.go#L127