Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code is of RegionCode type but returned string instead #6

Open
nakib103 opened this issue Aug 10, 2023 · 0 comments
Open

code is of RegionCode type but returned string instead #6

nakib103 opened this issue Aug 10, 2023 · 0 comments

Comments

@nakib103
Copy link
Contributor

Description

code under slice is termed as RegionCode type in the schema -
https://github.com/Ensembl/ensembl-hypsipyle/blob/1e5e09c58cfa3f4fd358088b85f7fe2cef24d0f6/common/schemas/slice.graphql#L24C9-L24C19

But returned as string -

"code": "chromosome",

Example query

query variant_example {
  variant(
    by_id: {genome_id: "a7335667-93e7-11ec-a39d-005056b38ce3", variant_id: "2:10171:rs1572047411"}
  ) {
    name
    slice {
      default
      region {
        name
        code
        topology
      }
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant