在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):cap-collectif/graphql-doctor开源软件地址(OpenSource Url):https://github.com/cap-collectif/graphql-doctor开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):GraphQL Doctor
WhyWhen using Continuous Evolution you have to prevent any Breaking Changes to your GraphQL API. That's why we recommend to commit a dump of your GraphQL schema (using SDL) inside your repository (eg: with a
ExampleYou can look at this Pull request. FeaturesShow issues right in your schemaGenerate a failure in case of Breaking ChangesInspirationThis project was created because we, at Cap Collectif, wanted the same bot as used internally at GitHub. We mostly used xuorig/graphql-schema_comparator as an inspiration. ConfigurationAdd the following key to your "graphql-doctor": {
"schema.public.graphql": {
"ref": "heads/master",
"schemaPath": "schema.public.graphql"
}
}, This will compare your current DeploymentWe don't provide a public application (yet!) but you can easily deploy your own. Internally we are using heroku : git push heroku master ContributingSetup# Install dependencies
yarn install
# Run the bot
yarn start
# Run tests
yarn test If you have suggestions for how graphql-doctor could be improved, or want to report a bug, open an issue! Any kind of contributions is greatly appreciated. For more, check out the Contributing Guide. LicenseCreditsCreated by Aurélien David. Sponsored by Cap Collectif. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论