graphql-idl-parser 0.1.1

A parser for the GraphQL IDL format.
type CodeOfConduct {}

# The Code of Conduct for a repository
type CodeOfConduct {}

type PushAllowance implements Node {}

type Release implements Node, UniformResourceLocatable {}

# The Code of Conduct for a repository
type CodeOfConduct { body: String }

# The Code of Conduct for a repository
type CodeOfConduct {
  # The body of the CoC
  body: String
}

# The Code of Conduct for a repository
type CodeOfConduct { key: String! }

type CommitCommentConnection { edges: [CommitCommentEdge] }

type PullRequest { suggestedReviewers: [SuggestedReviewer]! }

type CommitComment { viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! }

type User {
  # A list of users the given user is followed by.
  followers(
    # Returns the elements in the list that come after the specified global ID.
    after: String

    # Returns the first _n_ elements from the list.
    first: Int!
  ): FollowerConnection!
}

type User {
  databaseId: Int @deprecated
}

type Issue {
  databaseId: Int @deprecated(reason: "Exposed database IDs will eventually be removed in favor of global Relay IDs.")
}

# A team of users in an organization.
type Team implements Node {
  # List of child teams belonging to this team
  childTeams(
    # Whether to list immediate child teams or all descendant child teams.
    immediateOnly: Boolean = true
  ): TeamConnection!
}