Hey, I have been working at this for a few hours n...
# prisma-whats-new
m
Hey, I have been working at this for a few hours now and have made no progress. I am trying to combine my Prisma Schema and my `Graphql Yoga`'s schema. How would I go about generating a new file from these two schemas so that I can use Relay Compiler? Thank you!
I ended up just importing everything from Prisma and then I am using
graphql-import
to load the schema for relay compiler
n
Might I ask what you are trying to achieve here? Why do you want to merge both schemas in the first place?
m
I need one single schema to run
relay compiler
on, doesn't work with two separate schemas (AFAIK).
n
graphql prepare
is a tool that allows you to "resolve" import statements, and print a new schema
is that useful here?
m
Ummm, I have looked at it and for some reason I cannot get it to generate a new file for me.
n
ah ok! if you bring this up in the Forum, I'm sure we can figure that out 🙂
m
Ok thank you!
🙌 1