my guess without reading any code is that `User` p...
# orm-help
r
my guess without reading any code is that
User
probably has null built into its type.
User = Prisma.UserModel | null. you did deeper?
because yes you can get null returned from these queries.
j
doesn’t look like it to me
I do not
h
That is odd. I can’t reproduce this locally. Can you please report this here: https://github.com/prisma/prisma/issues/new?assignees=&labels=kind%2Fbug&template=bug_report.yml
j
happy to - is there anything in my generated
index.d.ts
that would be useful to include in the report?
h
That should not be necessary. Just include your schema and a sample call which is reproducing the problem. Here is an example of how you can prepare the reproduction: https://github.com/harshit-test-org/prisma-issue-11641
j
fyi i think it’s the same as this
but i have a working repro
will push it up