JViewer.Types behaviour (JViewer v0.1.3) View Source

JViewer.Types behaviour.

Defines a single callback apply_schema.

First argument of apply_schema must be a struct (schema or part of a schema) of a module that implements given behaviour. Second argumet is data schema applying to. Third argument is default handler params, which can be ignored by types that are not nested

Link to this section Summary

Link to this section Callbacks

Link to this callback

apply_schema(struct, any, any)

View Source

Specs

apply_schema(struct(), any(), any()) :: any()