Workflow for working with local and shared targets in a team #406
Description
Issue by kbrandwijk
Thursday Nov 16, 2017 at 13:29 GMT
Originally opened as https://github.com/graphcool/prisma/issues/1285
A graphcool service project contains a .graphcoolrc
file, which contain the targets for a project. When working with multiple developers, it's great to share this file, so everyone is working with the same test/production services.
However, the .graphcoolrc
also contains local targets. Those are specific to your local machine, and don't work when shared with other developers on the team.
The workaround is to remove the local target manually from .graphcoolrc
, but then committing it to source control shifts the problem back to the first developer.
I don't have a concrete proposal yet for how to deal with this. Maybe local targets should be in a .graphcoolrc.local
file or something, that would not be committed to source control?