Like : How to move the queries I’ve written in my...
# prisma-whats-new
x
Like : How to move the queries I’ve written in my test server straight to my “new" graphcool server, if that makes any sense? I would expect my front-end to just work as is after this, right?
n
@xxronis are you talking about graphql-up?
👍 1
x
am I? I mean can I import and use my channels Query instead of the allChannels for my Channels? parrotwave3
also the graphcool create command is kind of the same with graphql-up ? thanks
n
the
graphcool
cli is still under active development 🙂 I was asking if you created a project using
graphql-up
or if you used the Graphcool Console instead
x
oh the console
n
ok. can you clarify what you refer to as your test server then?
x
right, my test server is the qraphql server I created with express
it has a type Query {channels} , how can I import that and not only use lets say allChannels that out of the box in gCool
I may talk total cr@p
n
Well the API we generate follows a CRUD style pattern. you will likely need to adjust your queries and mutations :) if you have trouble doing I can help you out with that
x
oh ok no problem
so in gCool u HAVE to use the api queries
n
Yea! We're already looking for ways that allows you to define your own queries. What specific queries would you like to define?
x
just curious how that would work, simple ones I guess