@graphiql/react@0.38.0
Minor Changes
- #4448
e751f65Thanks @dargmuesli! - AddcustomScalarSchemasprop toGraphiQLProvider/GraphiQL, forwarded tomonaco-graphql's per-schemacustomScalarSchemasconfig. 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. aJSONorGeoJSONscalar).graphql-language-serviceandmonaco-graphqlalready supported this per-scalar override;@graphiql/reactjust never exposed it.
Patch Changes
-
#4430
6090495Thanks @trevor-scheer! - Disable Fira Code's font ligatures in the Monaco editors. Programming ligatures rewrote valid GraphQL into misleading glyphs — most notablyInt!=1(a non-nullIntwith a default value of1) rendered asInt≠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