Graphcool init for @beta creates a new project when existing project is selected. #701
Comments
Hey @steve-a-jones, could you resolve this issue? 🙂 Maybe a better documentation is needed here? |
Hey @marktani , initially I was under the impression that Later I realized that
|
graphcool pull -project doesnt work currently. Is there a different command to use to pull an existing project? |
@GxDesign can you provide steps to reproduce? |
|
Hey, thanks! I figured that out tonight. I just downloaded the project from the browser. Im not quite sure if my case was regarding Framework Preview but it does seem that its deprecated. |
Closing this, as the behaviour of |
What is the current behavior?
graphcool init
prompts for new or existing project ->I
select existing project for project list ->graphcool
outputs my selected (existing) project'sname(id)
->graphcool
subsequently outputs"Creating project <random name>"
->graphcool
proceeds to create a new project (I verified in graph.cool gui) ->graphcool
generates starter files (.graphcoolrc, graphcool.yml, types.graphql) for newly created projectPlease share the relevant part of your project (GraphQL schema, functions, permissions, ...) for easier reproduction
yarn global add graphcool@beta
The existing project that I selected was newly set up and had not been modified yet with any schema updates or mutations.
To reproduce go to GUI and create new project,
cd
to a clean dir and rungraphcool init
.If applicable, share the query, mutation or subscription for reproduction
What is the expected behavior?
graphcool
should output project files for an existing project and not create a new one.The text was updated successfully, but these errors were encountered: