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
I saw this comment which says that the title for a DAO is now stored in the metadata. I also see that in The Graph explorer there's a DaoMeta type that can return that title.
I can copy the id returned from:
{ moloches { id } }
into a query like:
{
daoMetas(where: {id:"0x014ded81ddb85f7d178a66bcdd6cd6ca89ba7cc5"}) {
title
}
}
and get the title. I don't understand why I can't do:
{
moloches {
daoMeta { title }
}
}
Could you clarify as to why that field isn't linked in that way?
The text was updated successfully, but these errors were encountered:
That daometa entity and the title field is misleading. We've been meaning to remove it. Apologies for the confusion on that.
The title field is a remnant of the V1 and an early V2 factory contract. There is actually no title stored on chain in the moloch contracts. Since moving to the v2.1 moloch we no longer have that field provided when summoning, so it'll be null on many daos.
Might be good to remove queries on daometa and any reliance on the title field in your dapp.
I saw this comment which says that the
title
for a DAO is now stored in the metadata. I also see that in The Graph explorer there's aDaoMeta
type that can return that title.I can copy the
id
returned from:into a query like:
and get the title. I don't understand why I can't do:
Could you clarify as to why that field isn't linked in that way?
The text was updated successfully, but these errors were encountered: