mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
fix: ensure ci_strings casted after constraints
This commit is contained in:
parent
01abe80a04
commit
69967099e3
1 changed files with 1 additions and 6 deletions
|
@ -65,12 +65,7 @@ defmodule Ash.Type.CiString do
|
|||
{:ok, nil}
|
||||
|
||||
{:ok, value} ->
|
||||
{:ok,
|
||||
%Ash.CiString{
|
||||
string: value,
|
||||
casted?: is_nil(constraints[:case]),
|
||||
case: constraints[:casing]
|
||||
}}
|
||||
{:ok, Ash.CiString.new(value, constraints[:casing])}
|
||||
|
||||
other ->
|
||||
other
|
||||
|
|
Loading…
Reference in a new issue