Home / Function/ graphQLFields() — supabase Function Reference

graphQLFields() — supabase Function Reference

Architecture documentation for the graphQLFields() function in fields.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  0798a399_f545_735f_286b_381d55d69ca6["graphQLFields()"]
  751fd3aa_ce00_2c3b_31a0_fa0c3eb99752["resolveSearchImpl()"]
  751fd3aa_ce00_2c3b_31a0_fa0c3eb99752 -->|calls| 0798a399_f545_735f_286b_381d55d69ca6
  8c15a3b0_a8b6_062a_e852_7c801cccbc6c["flattenAST()"]
  0798a399_f545_735f_286b_381d55d69ca6 -->|calls| 8c15a3b0_a8b6_062a_e852_7c801cccbc6c
  style 0798a399_f545_735f_286b_381d55d69ca6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/resources/utils/fields.ts lines 156–166

export function graphQLFields(
  info: GraphQLResolveInfo,
  obj = {},
  opts = { processArguments: false }
): Record<string, any> {
  const fields = info.fieldNodes
  options.processArguments = opts.processArguments
  return fields.reduce((o, ast) => {
    return flattenAST(ast, info, o)
  }, obj)
}

Subdomains

Calls

Frequently Asked Questions

What does graphQLFields() do?
graphQLFields() is a function in the supabase codebase.
What does graphQLFields() call?
graphQLFields() calls 1 function(s): flattenAST.
What calls graphQLFields()?
graphQLFields() is called by 1 function(s): resolveSearchImpl.

Analyze Your Own Codebase

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

Try Supermodel Free