Hi everyone, when I use apollo android with a pris...
# orm-help
m
Hi everyone, when I use apollo android with a prisma/yoga backend, the
AND
argument from apollo is handed over as
aND
and throws a http 400 when handed on to prisma. This is probably due to the java method naming convention by apollo (
aND()
). Has anyone had any experience with this? Is it desirable that prisma throws an error when the inputs
where
contains
aND
instead of
AND
or should it be case insensitive? Should I file apollo issue then? Heres the error:
Copy code
Variable "$where" got invalid value {"user":{"aND":[{"profile":{"name_contains":""}},{"profile":{"name_contains":""}}]}}; Field "aND" is not defined by type UserWhereInput at value.user; did you mean AND?
Thanks!