Joystream / Joystream/hydra

hydra-cli: codegen fails when an interface has a relationship field.

Open
#359 2 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.