Skip to content

Commit

Permalink
Add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
eddeee888 committed Nov 20, 2024
1 parent 9543af7 commit d32847d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .changeset/popular-schools-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@eddeee888/gcg-typescript-resolver-files': minor
---

Add mappersRelativeTargetDir config option

`string` (Default: `./`)

By default, mappers must be siblings with the schema they represent. For example, if the schema file is `/path/to/schema.graphql`, the mapper file is `/path/to/schema.mappers.ts`. This extension allows mappers to reside in a different directory relative to the schema file using the pattern `<schemaPath>/<mappersRelativeTargetDir>/<schemaName><mappersFileExtension>`.

0 comments on commit d32847d

Please sign in to comment.