Import Schemas
If you’re working on frontend, you’re most likely writing your queries against a remote GraphQL schema (i.e. the one that runs on your backend).
We’ve implemented our @litho(url: ...) schema import decorator for this purpose. Just add a single line somewhere in your frontend GraphQL documents to set it up.
extend schema @litho(url: "")


  • The remote schema must have support for introspection.
  • The remote schema must not require authentication.
  • This currently only works in our native LSP. It does not work on our WASM target.