diff --git a/packages/cli/src/validation/schema.ts b/packages/cli/src/validation/schema.ts index c057f97f2..b62cf0bd6 100644 --- a/packages/cli/src/validation/schema.ts +++ b/packages/cli/src/validation/schema.ts @@ -679,7 +679,7 @@ const validateFulltextArgumentIncludeFields = (def: any, directive: any, field: loc: directive.name.loc, entity: def.name.value, directive: fulltextDirectiveName(directive), - message: `@fulltext argument 'include > ${field.name.value}' must be be one of: entity, fields`, + message: `@fulltext argument 'include > ${field.name.value}' must be one of: entity, fields`, }), ]); } diff --git a/packages/cli/tests/cli/__snapshots__/validation.test.ts.snap b/packages/cli/tests/cli/__snapshots__/validation.test.ts.snap index a17f746cd..2fbee61b8 100644 --- a/packages/cli/tests/cli/__snapshots__/validation.test.ts.snap +++ b/packages/cli/tests/cli/__snapshots__/validation.test.ts.snap @@ -471,7 +471,7 @@ exports[`Validation > Invalid @fulltext directive 1`] = ` IncludeMissingEntityField: - @fulltext argument include must have two fields, 'entity' and 'fields' InvalidIncludeArgumentOther: - - @fulltext argument 'include > other' must be be one of: entity, fields + - @fulltext argument 'include > other' must be one of: entity, fields IncludeFieldsMustBeList: - @fulltext argument 'include > fields' must be a list Other: diff --git a/packages/cli/tests/cli/validation/invalid-fulltext-directive.stderr b/packages/cli/tests/cli/validation/invalid-fulltext-directive.stderr index 8fe712834..f7fa7d416 100644 --- a/packages/cli/tests/cli/validation/invalid-fulltext-directive.stderr +++ b/packages/cli/tests/cli/validation/invalid-fulltext-directive.stderr @@ -25,7 +25,7 @@ IncludeMissingEntityField: - @fulltext argument include must have two fields, 'entity' and 'fields' InvalidIncludeArgumentOther: - - @fulltext argument 'include > other' must be be one of: entity, fields + - @fulltext argument 'include > other' must be one of: entity, fields IncludeFieldsMustBeList: - @fulltext argument 'include > fields' must be a list Other: