Allow primitive values in where
clauses
#6148
tyteen4a03
started this conversation in
Feature Requests & Ideas
Replies: 1 comment
-
Good idea, Mongoose for instance supports such shortcuts too: I would love to see RegEx support for texts. We use this a lot in other projects. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've seen a few people do queries like this:
where they expect
title
to accept primitive values and getting errors (because it doesn't).Is there a way in GraphQL for these sort of queries to accept either a where object (so like how we do it currently) or a primitive value (in which case it will default to an equals check)?
This also applies to the Local API (I don't use the REST API often I don't know if this is an issue over there)
Beta Was this translation helpful? Give feedback.
All reactions