graphql / graphql/graphql-spec

allow fragments on query-specified interfaces

Open
#555 0 comments 0 reactions 0 assignees View on GitHub
💤 stale ?
Dominant language
JavaScript
Stars
14.6k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

I'm doing some queries on the introspection system for the purpose of generating documentation. It [routinely specifies](https://facebook.github.io/graphql/draft/#sec-Schema-Introspection) `name`, `description`, `isDeprecated` etc for many fields. I'd like to be able to do something like:

```graphql
interface Annotated {
name
description
isDeprecated
}

fragment Annotation on Annotated {
name
description
isDeprecated
}

query {
__schema {
types {
...Annotation
fields {
...Annotation
}
}
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.