Closed danhollick closed 3 years ago
@danhollick Yes, this is not supported currently. Will see what I can do
@danhollick Could you check if 0.6.1 fixes this for you :)
Feel free to reopen if it is not fixed
@williamluke4 there is currently a bug using @nexus/schema
with prisma client 2.12.0 so I'll need to wait until that's patched before I can test again.
What bug are you referring to? Does an issue for this exist @danhollick?
@janpio I think it was fixed already. Might have just been a dependency bump: https://github.com/graphql-nexus/nexus-plugin-prisma/issues/959
It seems like the codemod doesn't inspect @nexus/schema functions like
mutationField()
. For example the following code is not converted fromfindOne
tofindUnique
:Code outside of those functions is converted.
All of these files contain
mutationField()
and most of them required converting.