Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guides/cheatsheets/schema.cheatmd
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ defmodule Pet do
custom_fields: [
human_age: [
filter: {CustomFields, :filter_by_human_age, []},
sorter: {CustomFields, :sort_by_human_age, []},
field_dynamic: {CustomFields, :sort_by_human_age, []},
ecto_type: :integer
]
]
Expand Down
2 changes: 1 addition & 1 deletion lib/flop.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ defmodule Flop do
iex> msg
"has an invalid entry"
iex> enum
[:name, :age, :owner_name, :owner_age, :dog_age]
[:name, :age, :owner_name, :owner_age, :dog_age, :reverse_name]

Note that currently, trying to use an existing field that is not allowed as
seen above will result in the error message `has an invalid entry`, while
Expand Down
Loading