Skip to content

Commit

Permalink
forgot !
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Mar 6, 2024
1 parent 3a6145c commit 5f77046
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const table: Row[] = [
{
title: "componentFields can't overlap with type fields",
pass: false,
nb_of_fail: 1,
documents: [
`fragment MyFragmentOne on User @componentField(field: "firstName", prop: "user") {
firstName
Expand Down
2 changes: 1 addition & 1 deletion packages/houdini/src/codegen/validators/componentFields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default async function componentFields(config: Config, docs: Document[]):
graphql.isObjectType(parentType) && parentType.getFields()[fieldValue]
if (
fieldDef &&
fieldDef.astNode?.directives?.find(
!fieldDef.astNode?.directives?.find(
(dir) => dir.name.value === config.componentFieldDirective
)
) {
Expand Down

0 comments on commit 5f77046

Please sign in to comment.