Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
haifeng-li-at-salesforce committed Jun 3, 2024
1 parent 23a7de6 commit 1cf4c05
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/rules/graphql/no-more-than-3-root-entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const rule: GraphQLESLintRule = {
{
title: 'Correct',
code: /* GraphQL */ `
query FistQuery {
query FirstQuery {
uiapi {
query {
Contact(first: 1) {
Expand All @@ -80,6 +80,19 @@ export const rule: GraphQLESLintRule = {
}
}
}
query SecondQuery {
uiapi {
query {
Contact(first: 1) {
edges {
node {
Id
}
}
}
}
}
}
`
},
{
Expand Down

0 comments on commit 1cf4c05

Please sign in to comment.