strawberry.types.nodes

Abstraction layer for graphql-core field nodes.

Call convert_sections on a list of GraphQL FieldNode s, such as in info.field_nodes .

If a node has only one useful value, it’s value is inlined.

If a list of nodes have unique names, it’s transformed into a mapping. Note Python dicts maintain ordering (for all supported versions).

function

Classes