mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
fix: typo in cast_in_query?
This commit is contained in:
parent
a8fe63f0a0
commit
11db0aab65
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,7 @@ defmodule Ash.Type do
|
|||
|
||||
def cast_in_query?(type, constraints \\ []) do
|
||||
if ash_type?(type) do
|
||||
if function_exported?(type, :cast_in_query, 0) do
|
||||
if function_exported?(type, :cast_in_query?, 0) do
|
||||
type.cast_in_query?()
|
||||
else
|
||||
type.cast_in_query?(constraints)
|
||||
|
|
Loading…
Reference in a new issue