Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 22 Feb 09:38
· 910 commits to main since this release
d19ed48

Minor Changes

  • #2191 eb8af7b5 Thanks @n1ru4l! - Allow inserting content before the topBar element via the beforeTopBarContent property.

    <GraphiQL beforeTopBarContent={<SomeComponent />} />
  • #2189 96d47267 Thanks @n1ru4l! - Apply variable editor title text styles via class variable-editor-title-text instead of using inline-styles. This allows better customization of styles. An active element also has the class active. This allows overriding the inactive state color using the selector .graphiql-container .variable-editor-title-text and overriding the active state color using the selector .graphiql-container .variable-editor-title-text.active.

  • #2190 d5179899 Thanks @n1ru4l! - New callback property onSchemaChange for GraphiQL.

    The callback is invoked with the successfully fetched schema from the remote.

    Usage example:

    <GraphiQL onSchemaChange={schema => console.log(schema)} />