ExGraphQL.QueryBuilder (ex_graphql v0.1.0)

Advanced GraphQL query builder supporting infinite levels of nested objects

Summary

Functions

Build filter string with support for deep nesting

Build variables for deeply nested queries

Recursively process fields, supporting infinite levels of nesting

Functions

build_filter_string(filters, depth \\ 0, max_depth \\ 5)

Build filter string with support for deep nesting

build_query(object_module, filters \\ [], operation_type \\ :query)

build_variables(filters)

Build variables for deeply nested queries

process_fields(object_module, depth \\ 0, max_depth \\ 5)

Recursively process fields, supporting infinite levels of nesting