{"name":"@graphiql/plugin-query-builder","version":"0.0.0","_id":"@graphiql/plugin-query-builder@0.0.0","maintainers":[{"name":"benjie","email":"npm@benjiegillam.com"},{"name":"mjmahone","email":"mahoney.mattj@gmail.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"i1g","email":"ivan.goncharov.ua@gmail.com"}],"dist":{"shasum":"79247a96e1c3102c8f789e23f655bf660bf00e7b","tarball":"http://registry-npm.ywwl.com/@graphiql/plugin-query-builder/download/@graphiql/plugin-query-builder-0.0.0.tgz","fileCount":1,"integrity":"sha512-b2epRjWnUlH/RvkWqhO4JmzGmw28doFHfebrIYNieAGzeCwo6C6aMzeZ9QsyYJ5Bc5lGmULaUdo7B5KE0a3cxw==","signatures":[{"sig":"MEUCIBDWqKzj69M8USJSc9UwqocUNHh/XfD7eBfk+Z4Q1J+/AiEAopMBmAxImE4ABxJK5eAD+EJv3PYqvYmHEPzd1iadJMg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69,"size":162,"noattachment":false,"key":"/@graphiql/plugin-query-builder/-/@graphiql/plugin-query-builder-0.0.0.tgz"},"_npmUser":{"name":"benjie","email":"npm@benjiegillam.com"},"_npmVersion":"12.0.2","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/plugin-query-builder_0.0.0_1788019573185_0.07325338229200895","host":"s3://npm-registry-packages-npm-production"},"readme":"# `@graphiql/plugin-query-builder`\n\nA first-party visual query builder plugin for GraphiQL. Build GraphQL queries by clicking through your schema instead of writing them by hand.\n\nPick fields from the schema and the operation in the editor stays in sync, both ways. It covers a schema tree with checkboxes, argument inputs (scalars, enums, lists, and input objects, including lists of input objects), promoting scalar arguments to variables, creating named fragments from a selection, and union/interface type-condition selectors. See [#734](https://github.com/graphql/graphiql/issues/734) for the original feature request.\n\n## Install\n\n```bash\nnpm install @graphiql/plugin-query-builder\n# or\nyarn add @graphiql/plugin-query-builder\n```\n\n## Usage\n\n```tsx\nimport { GraphiQL } from 'graphiql';\nimport { QUERY_BUILDER_PLUGIN } from '@graphiql/plugin-query-builder';\nimport '@graphiql/plugin-query-builder/style.css';\n\nfunction App() {\n  return <GraphiQL plugins={[QUERY_BUILDER_PLUGIN]} fetcher={fetcher} />;\n}\n```\n\n## Known limitations\n\n- **Aliases.** The tree addresses fields by their schema name, so a hand-written document that aliases the same field twice (`a: hero b: hero`) matches the first occurrence. Editing acts on that one; full alias-aware editing is not supported yet.\n- **Explicit `null`.** The builder has no control for an explicit `null` argument, and treats an empty input as \"remove this argument\". A hand-written `arg: null` is therefore not preserved across an edit.\n\n## License\n\nMIT\n","publish_time":1788019573330,"_cnpm_publish_time":1788019573330,"dist-tags":{"beta":"1.0.0-beta.4","latest":"1.0.1","rc":"1.0.0-rc.3"}}