Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prisma CLI merges graphql and graphql-auth examples when "GraphQL Boilerplate" is selected in prisma2 init #321

Closed
nikolasburk opened this issue Aug 5, 2019 · 5 comments
Assignees
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug.
Milestone

Comments

@nikolasburk
Copy link
Member

It should download only the graphql example but seems to weirdly mix it with graphql-auth, e.g. the index.ts file has the contents from graphql but there are lots of files/folders from graphql-auth.

@ManAnRuck
Copy link

is it also possible to add the selection for the other GraphQL examples in cli init process?

@nikolasburk
Copy link
Member Author

is it also possible to add the selection for the other GraphQL examples in cli init process?

Yes, we're actually working on prisma2 init this week where we'll improve it a lot. We actually have a "spec" for the entire flow that you can see here.

@pantharshit00 pantharshit00 added bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. candidate labels Aug 5, 2019
@janpio janpio added this to the Preview 7 milestone Aug 9, 2019
@janpio janpio added candidate and removed candidate labels Aug 9, 2019
@janpio janpio assigned timsuchanek and unassigned nikolasburk Aug 15, 2019
@janpio janpio modified the milestones: Preview 7, Preview 8 Aug 15, 2019
@janpio janpio removed the candidate label Aug 15, 2019
@deadcoder0904
Copy link
Contributor

I think I just made #373 which is duplicate I think. Closing that one.

@deadcoder0904
Copy link
Contributor

Just wanted to mention one thing I mentioned in the duplicate issue 👇

Also, I just noticed it does not contain .gitignore by default so I was uploading node_modules. I think it would be cool if a default .gitignore is included in every example.

@divyenduz
Copy link
Contributor

This is fixed in prisma2@2.0.0-alpha.150, please re-open a new issue if the problem persists for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug.
Projects
None yet
Development

No branches or pull requests

7 participants