Hydrex.Hydratable protocol (hydrex v0.1.0)

Summary

Types

t()

All the types that implement this protocol.

Functions

Hydrates an Ecto struct or a list of structs.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

hydrate(data)

Hydrates an Ecto struct or a list of structs.