Packages

Generate type-safe Gleam clients directly from your Ash resources and actions, ensuring end-to-end type safety between Gleam and Elixir.

Current section

Files

Jump to
ash_gleam doc AshGleam.Diff.md
Raw

doc/AshGleam.Diff.md

# `AshGleam.Diff`
Computes persistable Ash attribute changes from a proposed resource state.
# `resource_changes`
```elixir
@spec resource_changes(struct() | map(), struct() | map() | tuple()) :: map()
```
---
*Consult [api-reference.md](api-reference.md) for complete listing*