thawke

thawke

Like Filter Missing in ci_string ash_graphql Filter

I may be doing something wrong, but the generated filter for :ci_string fields in ash_graphql doesn’t seem to include the like operator like :string fields do. It doesn’t include ilike which makes sense as it is case insensitive, but should it have the like filter?

:ci_string Resource definition:

attribute :name, :ci_string do
  public? true
end

:ci_string Generated Filter Operator Fields:
eq: String
greaterThan: String
greaterThanOrEqual: String
in: [String!]
isNil: Boolean
lessThan: String
lessThanOrEqual: String
notEq: String

:string Resource Definition

attribute :name, :string do
  public? true
end

:string Generated Filter Operator Fields
eq: String
greaterThan: String
greaterThanOrEqual: String
ilike: String
in: [String]
isNil: Boolean
lessThan: String
lessThanOrEqual: String
like: String
notEq: String

Where Next?

Popular in Questions Top

Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New

Other popular topics Top

vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44265 214
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New

We're in Beta

About us Mission Statement