Skip to content

@graphiql/react@0.38.0

Choose a tag to compare

@github-actions github-actions released this 25 Aug 12:38
7d543a9

Minor Changes

  • #4448 e751f65 Thanks @dargmuesli! - Add customScalarSchemas prop to GraphiQLProvider/GraphiQL, forwarded to monaco-graphql's per-schema customScalarSchemas config. Without it, the variable editor's live JSON Schema linter assumes every custom scalar only accepts primitives (string, number, boolean, integer) and reports a spurious "Incorrect type" error for scalars that legitimately accept objects or arrays (e.g. a JSON or GeoJSON scalar). graphql-language-service and monaco-graphql already supported this per-scalar override; @graphiql/react just never exposed it.

Patch Changes

  • #4430 6090495 Thanks @trevor-scheer! - Disable Fira Code's font ligatures in the Monaco editors. Programming ligatures rewrote valid GraphQL into misleading glyphs — most notably Int!=1 (a non-null Int with a default value of 1) rendered as Int≠1, implying an inequality that isn't there. Characters now render literally. The Windows caret fix from #4040 is preserved.

  • Updated dependencies [0893da7]:

    • graphql-language-service@5.6.0