Home / Function/ GraphiQL() — supabase Function Reference

GraphiQL() — supabase Function Reference

Architecture documentation for the GraphiQL() function in GraphiQL.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/GraphQL/GraphiQL.tsx lines 50–63

export default function GraphiQL({ fetcher, theme = 'dark' }: GraphiQLProps) {
  // Ensure props are correct
  if (typeof fetcher !== 'function') {
    throw new TypeError(
      'The `GraphiQL` component requires a `fetcher` function to be passed as prop.'
    )
  }

  return (
    <GraphiQLProvider fetcher={fetcher}>
      <GraphiQLInterface theme={theme} />
    </GraphiQLProvider>
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free