Add Collection Entity to TokenEntity
vikiival opened this issue · comments
Viki Val commented
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:
- To
TokenEntity
addCollectionEntity
type TokenEntity @entity {
collection: CollectionEntity
}
Viki Val commented
Looks like it's already present
https://github.com/kodadot/stick/blob/f870effae7141dde9668e94dfe771f6fdd7ff596/schema.graphql#L32
Luke Fishman commented
Yes it is
Viki Val commented
Yes it is
so why we cannot use it in the query?
Luke Fishman commented
We can and I will