View Source JSONAPIPlug.Normalizer.Ecto (jsonapi_plug v2.0.0)

JSON:API Document normalizer implementation for Ecto

Translates JSON:API resources to 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.