graphql-basics | GraphQL library
kandi X-RAY | graphql-basics Summary
kandi X-RAY | graphql-basics Summary
graphql-basics
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of graphql-basics
graphql-basics Key Features
graphql-basics Examples and Code Snippets
Community Discussions
Trending Discussions on graphql-basics
QUESTION
I'm currently using graphql-cli from Prisma to download the schema from endpoint. But, even after I deploy the changes I made to my schema, which gets deployed successfully, whenever I try to download the schema, I get project prisma - No changes
. And the generated prisma.graphql
is left unchanged.
I use the following command to download the schema:
...ANSWER
Answered 2020-Jan-27 at 13:11To fix the error "variable to satisfy the declaration 'env:PRISMA_ENDPOINT' could not be found." when calling prisma generate
you should either set the PRISMA_ENDPOINT
variable manually or load it via dotenv
. For example you could run npx dotenv -- prisma generate
to load the env vars from your .env file.
To download the schema from the endpoint via graphql get-schema
make sure to provide a properly configured .graphqlconfig.yml
and provide the correct project.
A sample configuration for a prisma project could look like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install graphql-basics
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page