We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd222b9 commit 6f0318fCopy full SHA for 6f0318f
packages/@proto-graphql/codegen-core/src/types/TypeBase.ts
@@ -31,7 +31,9 @@ export abstract class TypeBase<P extends ProtoMessage | ProtoEnum | ProtoOneof>
31
return [
32
{
33
alias: "builder",
34
- module: path.relative(path.dirname(this.filename), this.options.pothosBuilderPath),
+ module: this.options.pothosBuilderPath.startsWith(".")
35
+ ? path.relative(path.dirname(this.filename), this.options.pothosBuilderPath)
36
+ : this.options.pothosBuilderPath,
37
type: "named",
38
},
39
];
0 commit comments