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 6e3ff6f commit 2406adbCopy full SHA for 2406adb
src/index.ts
@@ -59,8 +59,11 @@ function parseArgs(): Config {
59
60
try {
61
return ConfigSchema.parse({
62
+ name: argv.name,
63
endpoint: argv.endpoint,
64
+ allowMutations: argv["enable-mutations"],
65
headers: typeof argv.headers === "string" ? JSON.parse(argv.headers) : {},
66
+ schema: argv.schema
67
});
68
} catch (error) {
69
if (error instanceof z.ZodError) {
0 commit comments