View Source Bonfire.Common.SchemaModule behaviour (bonfire_umbrella v0.3.6-classic-beta.7)

Find a context or query module via its schema, backed by a global cache of known schema modules to be queried by their schema, or vice versa (eg. via ContextModule).

Link to this section Summary

Callbacks

Points to the related context module

Points to the related query module

Declares a schema module

Link to this section Callbacks

@callback context_module() :: atom()

Points to the related context module

@callback query_module() :: atom()

Points to the related query module

@callback schema_module() :: any()

Declares a schema module

Link to this section Functions