book
book copied to clipboard
Gql document naming pattern
Atm we have:
- all caps
- end with the operation, eg
STARS_QUERY,FAVORITE_MUTATION
const DELETE_REVIEW_MUTATION = gql`
mutation DeleteReview($id: ObjID!) {
removeReview(id: $id)
}
`
What do we think about dropping the operation from the end?