Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Mar 6, 2024
1 parent bc758a6 commit f50b506
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/houdini/src/codegen/validators/componentFields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ export default async function componentFields(config: Config, docs: Document[]):
graphql.isObjectType(parentType),
parentType &&
fieldValue &&
((graphql.isObjectType(parentType) && parentType.getFields()[fieldValue]) ||
(existingField && existingField.filepath !== filepath))
graphql.isObjectType(parentType) &&
parentType.getFields()[fieldValue],
existingField && existingField.filepath !== filepath
)
if (
parentType &&
Expand Down

0 comments on commit f50b506

Please sign in to comment.