kodadot / loligo

Common good repository for Squid indexers in KodaDot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Collection Entity to TokenEntity

vikiival opened this issue · comments

So that means TokenEntity is expecting same image under one collection right?

correct, all of the nfts under one collection that share same ipfs URL are a single TokenEntity

Originally posted by @daiagi in kodadot/nft-gallery#7462 (comment)

Task:

  1. To TokenEntity add CollectionEntity
type TokenEntity @entity {
  collection: CollectionEntity
}

Yes it is

Yes it is

so why we cannot use it in the query?

We can and I will