mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 21:43:02 +12:00
chore: fix invalid guard
This commit is contained in:
parent
1ecde072f0
commit
cc01bd9b04
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ defmodule Ash.Filter do
|
||||||
refs
|
refs
|
||||||
|> Enum.flat_map(fn
|
|> Enum.flat_map(fn
|
||||||
%{attribute: attribute, relationship_path: relationship_path}
|
%{attribute: attribute, relationship_path: relationship_path}
|
||||||
when is_atom(attribute) || is_binary(attribute) ->
|
when is_atom(attribute) or is_binary(attribute) ->
|
||||||
[
|
[
|
||||||
NoSuchAttributeOrRelationship.exception(
|
NoSuchAttributeOrRelationship.exception(
|
||||||
attribute_or_relationship: attribute,
|
attribute_or_relationship: attribute,
|
||||||
|
|
Loading…
Reference in a new issue