Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

graphql-schema generator should output a single file #3359

Closed
nikolasburk opened this issue Oct 24, 2018 · 6 comments
Closed

graphql-schema generator should output a single file #3359

nikolasburk opened this issue Oct 24, 2018 · 6 comments

Comments

@nikolasburk
Copy link
Member

The built-in generator for graphql-schema in the Prisma CLI should output a single file instead of a directory.

Currently it's configured as follows:

generate:
    - generator: graphql-schema
      output: ./generated/prisma/

Instead, output should simply specify the name of a single file:

generate:
    - generator: graphql-schema
      output: ./generated/prisma.graphql
@stale
Copy link

stale bot commented Jan 8, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status/stale Marked as state by the GitHub stalebot label Jan 8, 2019
@stale stale bot removed the status/stale Marked as state by the GitHub stalebot label Jan 9, 2019
@pantharshit00 pantharshit00 added the status/stale Marked as state by the GitHub stalebot label Jan 9, 2019
@timsuchanek timsuchanek added this to the 1.x milestone Jan 9, 2019
@stale stale bot removed the status/stale Marked as state by the GitHub stalebot label Jan 9, 2019
@divyenduz divyenduz removed their assignment Jan 14, 2019
@divyenduz divyenduz self-assigned this Feb 6, 2019
@divyenduz
Copy link
Contributor

This is available in the latest alpha - 1.28.0-alpha.13, please install it via npm install -g prisma@alpha. Please be advised that this is a breaking change.

@divyenduz
Copy link
Contributor

This is available in the latest beta 1.29.0-beta, please install it via npm install -g prisma@beta. Please be advised that this is a breaking change.

@divyenduz
Copy link
Contributor

This is available in the latest stable, 1.29.x, please install it via npm install -g prisma. I am closing this issue, please reopen a new issue if required.

@nunovieira
Copy link
Contributor

I've come across this breaking change.
The documentation needs to be updated. Is that being done or should I try to submit a PR?
I also didn't notice any mention of this in the release notes.

@pantharshit00
Copy link
Contributor

@nunovieira I have updated the release notes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants