Skip to content

Commit

Permalink
Adds missing change_{resource} documentation in CRUD
Browse files Browse the repository at this point in the history
  • Loading branch information
szsoppa committed May 26, 2023
1 parent 2493ec5 commit 2369b46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/contexted/crud.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ defmodule Contexted.CRUD do
- `update_{resource name}!` - Updates an existing resource with the provided attributes. Raises an error if update fails.
- `delete_{resource name}` - Deletes an existing resource. Returns an `:ok` tuple with the resource or an `:error` tuple with changeset.
- `delete_{resource name}!` - Deletes an existing resource. Raises an error if delete fails.
- `change_{resource name}` - Returns changeset for given resource.
{resource name} and {plural resource name} will be replaced by the singular and plural forms of the resource name.
"""
Expand Down

0 comments on commit 2369b46

Please sign in to comment.