Skip to content

Commit

Permalink
try more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Mar 6, 2024
1 parent 6240df5 commit bc758a6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/houdini/src/codegen/validators/componentFields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ export default async function componentFields(config: Config, docs: Document[]):

// look up the type of the parent
const parentType = config.schema.getType(parent)
console.log(
parentType,
fieldValue,
graphql.isObjectType(parentType),
parentType &&
fieldValue &&
((graphql.isObjectType(parentType) && parentType.getFields()[fieldValue]) ||
(existingField && existingField.filepath !== filepath))
)
if (
parentType &&
fieldValue &&
Expand Down

0 comments on commit bc758a6

Please sign in to comment.