# `PgRest.TypeCaster`
[🔗](https://github.com/agoodway/pgrest/blob/v0.1.0/lib/pg_rest/type_caster.ex#L1)

Casts string values from URL parameters to proper Elixir/Ecto types
based on schema introspection.

# `cast_filters`

```elixir
@spec cast_filters([map()], module()) :: {:ok, [map()]} | {:error, term()}
```

Casts all filter values to their proper types based on the schema.
Returns `{:ok, filters}` with cast values or `{:error, reason}` on cast failure.

---

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