Support for Object Fields in No-Code Indexing #724
Unanswered
BounebRayan
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discord user ID
No response
Describe your question in detail.
Hi there,
I'm currently trying to set up no-code indexing for some custom events emitted by my Move module. However, I'm running into the following error:
unknown variant
object, expected one of
u8,
u16,
u32,
u64,
u128,
u256,
bool,
address,
string``From what I understand, this happens because one of the fields in my event is a JSON object, which isn't supported by the indexer's schema validator.
Are there any workarounds or planned support for handling object/complex fields in no-code indexing? Or is flattening the event structure into primitive types currently the only solution?
Am wondering if there is any way to handle this without having to change the event structure?
Thanks in advance!
What error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
No response
Which operating system are you using?
Windows
Which SDK or tool are you using? (if any)
TypeScript SDK
Describe your environment or tooling in detail
No response
Beta Was this translation helpful? Give feedback.
All reactions