-
TypeDefinition 'Deposit' not found in parsed GraphQL schema during the building of indexerHello there In the contract, I have a few events like that: I have defined some handlers in And ofc I have GraphQL types in But when I'm trying to build that I get an error toolchainHow to reproduce the bug |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
@chlenc We made a breaking change in 0.19.0 to use proper/idiomatic GraphQL directives The way things used to work: type Deposit {
id: ID!
timestamp: UInt8!
address: Address!
amount: UInt8!
}The way things work now (note that type definitions are decorated with the type Deposit @entity {
id: ID!
timestamp: UInt8!
address: Address!
amount: UInt8!
}Let me know if this helps :) |
Beta Was this translation helpful? Give feedback.
-
Thanks for a super fast reply ser |
Beta Was this translation helpful? Give feedback.
-
That works, thanks a lot ❤️ |
Beta Was this translation helpful? Give feedback.

@chlenc We made a breaking change in 0.19.0 to use proper/idiomatic GraphQL directives
The way things used to work:
The way things work now (note that type definitions are decorated with the
@entitydirectiveLet me know if this helps :)