{"library":"relay-compiler-experimental","title":"Relay Compiler Experimental","description":"Experimental version of the Relay Compiler, part of Meta's Relay GraphQL client ecosystem. This package (v0.0.1) is an unstable pre-release intended for testing new compiler features before they migrate to the stable relay-compiler package. It follows the same release cadence as the main Relay monorepo but may introduce breaking changes without notice. Key differentiators: early access to compiler experiments, potential for rapid iteration, but no stability guarantees. Not recommended for production use.","language":"javascript","status":"deprecated","last_verified":"Fri May 01","install":{"commands":["npm install relay-compiler-experimental"],"cli":null},"imports":["import relayCompiler from 'relay-compiler-experimental'","import { compile } from 'relay-compiler-experimental'","import { Program } from 'relay-compiler-experimental'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { compile } from 'relay-compiler-experimental';\n\nconst source = `\n  query UserQuery {\n    user(id: \"1\") {\n      name\n    }\n  }\n`;\n\nconst result = compile(source, {\n  schemaPath: './schema.graphql',\n  artifactDirectory: './__generated__',\n});\n\nconsole.log(result);","lang":"typescript","description":"Demonstrates compiling a GraphQL query with the experimental compiler, specifying schema and output directory.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}