# `JSONAPIPlug.QueryParser.Ecto.Fields`
[🔗](https://github.com/lucacorti/jsonapi_plug/blob/main/lib/jsonapi_plug/query_parser/ecto/fields.ex#L1)

JSON:API 'fields' query parameter parser implementation for Ecto

Expects `include` parameter to in the [JSON:API fields](https://jsonapi.org/format/#fetching-sparse-fieldsets)
format and converts the specification format to a map of fields list format for ease of
use with `select` option to `Ecto.Repo` functions.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
