Open
Description
Sometimes there are entities that should be represented in the graphql schema that don't have corresponding on-disk relations. For instance, we might want to be able to query records related to an address, but don't need to store any information on an address directly:
type Address {
id: ID!
ownedContracts: [Contract!]! @derivedFrom(field: "owner")
# ...
}
It would be good to be able to represent these in the graph without having to create empty entities for them.
An advanced version of this is an entity that may have a composite key: for instance, representing an individual ERC721 collectible, which entails both a contract address and a token ID.