dojo icon indicating copy to clipboard operation
dojo copied to clipboard

feat(world): make fields as keys in events where possible

Open itzlambda opened this issue 1 year ago • 3 comments
trafficstars

Since having fields as keys can help retrieving events more granular.

In future torii might benefit from this when we add features like whitelist based models/system indexing.

itzlambda avatar Jul 29 '24 16:07 itzlambda

Hi @lambda-0x ! Do you mean adding #[key] attribute on event struct fields in the world contract when it makes sense to do it ?

remybar avatar Aug 07 '24 13:08 remybar

yes, exactly!

itzlambda avatar Aug 07 '24 14:08 itzlambda

Hello @lambda-0x, please can i work on this?

ScottyDavies avatar Aug 23 '24 18:08 ScottyDavies