Does anyone have a best practice for maintaining m...
# prisma-whats-new
j
Does anyone have a best practice for maintaining multiple environments? I will need ~10 envs with different auth0 credentials and webhook endpoints, but identical schema and perm queries. Is it possible?
n
@joar right now your best approach would be to use the CLI to manage the schemas across the different projects: https://www.graph.cool/docs/tutorials/cli-multi-staging-workflow-ex4wo4zaep/ Auth0 config is an initial manual effort, but it doesn't change so that's fine I guess? and then functions and permission queries need to be managed manually at the moment. But, permission queries will be part of the duplicated project, so set them up once in the original project and they'll be copied over as well
j
Would you be interested in PRs to your CLI? Thinking about extending it to handle data cloning and functions as well