View Source Bonfire.Common.SchemaModule behaviour (Bonfire v0.9.10-classic-beta.156)

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).

Summary

Callbacks

Points to the related context module

Points to the related query module

Declares a schema module

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

Functions