Skip to content

Commit

Permalink
fix: fix simple_equality in attribute type
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Apr 28, 2024
1 parent c6c602c commit 5ef8de0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ash/resource/attribute.ex
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,15 @@ defmodule Ash.Resource.Attribute do
doc: "A value to be set on all updates, unless a value is being provided already."
],
filterable?: [
type: :boolean,
type: {:or, [:boolean, {:in, [:simple_equality]}]},
default: true,
doc: """
Whether or not the attribute can be referenced in filters.
"""
],
sortable?: [
type: {:or, [:boolean, {:in, [:simple_equality]}]},
default: true,
type: :boolean,
doc: """
Whether or not the attribute can be referenced in sorts.
"""
Expand Down

0 comments on commit 5ef8de0

Please sign in to comment.