String is inferred as bytes while generating types from abi

I am indexing this contract - Contract Address 0x44dC3A9500a282eAa59c5Fd71F57Fd7B021e8D45 | PolygonScan

on every CollectionCreated event, I am storing details of collection in the indexer

But the first 2 values in CollectionCreated event are string but they inferred as Bytes in the auto generated ts file by the graph

Subgraph - naksh-marketplace Subgraph

So, currently have set it to bytes and its working but need string name

1 Like

image

If the field is indexed, in this case it is bytes.

1 Like