Skip to main content

Module selection_parser

Module selection_parser 

Source
Expand description

GraphQL field selection parsing for federation queries.

Extracts which fields are requested in a GraphQL query so federation can project only necessary fields from the database.

Structs§

FieldSelection
Represents requested fields in a GraphQL selection set.

Functions§

parse_field_selection
Parse GraphQL query to extract field selection for _entities.