Which packages are impacted by your issue?
@graphprotocol/graph-cli
Describe the issue
Using derivedFrom on Interfaces failing with Cannot read properties of undefined (reading 'fields') on graph-cli 0.57
I've attached the relevant lines on the github links below:
https://github.com/wighawag/conquest-graph/blob/06b6e04480bdd227c2e93b049af7c885a60815f4/schema.graphql#L172
https://github.com/wighawag/conquest-graph/blob/06b6e04480bdd227c2e93b049af7c885a60815f4/schema.graphql#L149C12-L149C22
This currently works on cli version 0.51.2
Reproduction
https://github.com/wighawag/conquest-graph
Steps to Reproduce the Bug or Issue
Clone the repo below, install graph cli 0.57.0 and run graph codegen
https://github.com/wighawag/conquest-graph
Expected behavior
codegen shouldn't fail
Screenshots or Videos
No response
Platform
nil
Subgraph Manifest
No response
Subgraph GraphQL Schema
No response
Additional context
No response