Bonfire.API.GraphQL.Schema (Bonfire v1.0.3-social-alpha.7)

Copy Markdown View Source

Root GraphQL Schema. Only active if the Bonfire.API.GraphQL extension is present.

Summary

Functions

context(context)

Define dataloaders see https://hexdocs.pm/absinthe/1.4.6/ecto.html#dataloader

hydrate(arg1, arg2)

hydrate SDL schema with resolvers

maybe_schema_to_api_type(struct)

schema_to_api_type(object, _ \\ nil)

schema_to_api_type_fallback(object, type_match_fun \\ &maybe_schema_to_api_type/1)