Skip to content

Commit

Permalink
feat: create compass.yml (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardocasares authored Oct 6, 2021
1 parent 650c609 commit 6d6be0b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/compass.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
rules:
- name: grahpql recommendations
check: true
skip: true
match: ["**/*.graphql"]
comment: |-
:warning:
You have modified the GraphQL schema. Please take this into account when modifying graphql schemas:
**When deleting fields**
- [ ] Marked the field as `@deprecated` instead of deleting it
**When adding new types**
- [ ] You have checked there is no naming conflicts
- [ ] You are using `PascalCase` for naming the types
:warning:
When you modify the GraphQL schema, we automatically generate a client library.
If you have modified types or queries and you have not updated the code handling it, the build step will fail.

1 comment on commit 6d6be0b

@vercel
Copy link

@vercel vercel bot commented on 6d6be0b Oct 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.