Skip to content

Commit

Permalink
fixup some comments to not be misleading
Browse files Browse the repository at this point in the history
  • Loading branch information
endigma committed Nov 14, 2024
1 parent f0649cf commit 172e233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/houdini-react/src/plugin/codegen/typeRoot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export async function generate_type_root({

const all_queries = (page?.query_options ?? []).concat(layout?.query_options ?? [])

// compute the path prefix to bring us to the root of the $houdini directory
// compute the path prefix to bring us to the root of the houdini runtimeDir
const relative = path.relative(target_dir, config.rootDir)

// build up the type definitions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default async function componentTypesGenerator(
// we can just filter out the ones that don't apply:t
// - in kit, exclude the route directory
// - group the files by directory
// - generate ./$houdini in the typeroot directory at the correct spot
// - generate runtimeDir in the typeroot directory at the correct spot

// there could be many queries in a given component so we can't just think about filepaths
const queries: Record<string, { name: string; query: string }[]> = {}
Expand Down

0 comments on commit 172e233

Please sign in to comment.