View Source JSONAPIPlug.Normalizer.Ecto (jsonapi_plug v1.0.5)

JSON:API Document normalizer implementation for Ecto

Translating JSON:API resources to and from an Ecto friendly format in conn params. Deserialization produces attributes and relationships in a way that directly translates to attributes that can be passed to an Ecto.Changeset for validation and later to Ecto.Repo for database operations.