hydra-cli: codegen fails when an interface has a relationship field.
Open
@metmirr is already working on this.
Since Apr 14, 2021.
bug
estimate-6h
low-prio
- Dominant language
- TypeScript
- Stars
- 50
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
hydra-cli codegen fails when run against the following input schema
type Event @entity {
"Event ID"
id: ID!
"Block number"
inBlock: Int!
}
interface MembershipEvent @entity {
"Generic event data"
event: Event!
}
type MembershipBoughtEvent implements MembershipEvent @entity {
"Generic event data"
event: Event!
"New member handle."
handle: String!
}
hydra-cli version: 2.1.0-beta.7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.