Major Changes
-
#4352
f8a9445Thanks @trevor-scheer! - Add@graphiql/plugin-query-builder, a first-party visual query builder. It renders the schema's root types as a collapsible tree; checking a field adds it to the current operation and unchecking removes it, with the document parsed, mutated, and reprinted through thegraphqlpackage's AST utilities. Fields expose argument inputs (scalars, enums, lists, and input objects, including lists of input objects), scalar arguments can be promoted to variables, named fragments can be extracted from a field's selection and edited in place, and union/interface fields offer inline-fragment type-condition selectors.The query builder is default-installed in the
graphiqlmeta-package, so it is available with no extra setup. It takes over from@graphiql/plugin-explorer.