You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.
When I create a new proposal we refer to a GroupAccount in the payload. To store the group version with the proposal, I would need to load the group via reference from GroupAccount.
Instead of the 2 steps to load GroupAccount by address and then load Group by GroupAccount.Group we could introduce a new index type that points to the Group entity from an GroupAccount.
All our current indexes are work with the RowGetter and type of the table builder where they are registered. For this foreign key index we would need the GroupRowGetter and type but register on the GroupAccounts builder with and raw index key <GroupAccount.Address><Group.RowID>
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
TlDr;: I would like to replace the following 2 Gets on tales by an index.
Scenario:
I have Groups and GroupAccounts.
When I create a new proposal we refer to a
GroupAccount
in the payload. To store the group version with the proposal, I would need to load the group via reference from GroupAccount.Instead of the 2 steps to load
GroupAccount
by address and then loadGroup
byGroupAccount.Group
we could introduce a new index type that points to theGroup
entity from anGroupAccount
.All our current indexes are work with the
RowGetter
and type of the table builder where they are registered. For this foreign key index we would need theGroup
RowGetter
and type but register on theGroupAccounts
builder with and raw index key<GroupAccount.Address><Group.RowID>
The text was updated successfully, but these errors were encountered: