Skip to content

Commit e59a7e8

Browse files
Commented out warnings (#34)
* Commented out warnings * bumped version
1 parent 3dbbe57 commit e59a7e8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "polyapi",
3-
"version": "0.24.16",
3+
"version": "0.24.17",
44
"description": "Poly is a CLI tool to help create and manage your Poly definitions.",
55
"license": "MIT",
66
"repository": {

src/commands/generate/schemaTypes.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -680,9 +680,9 @@ const fillInUnresolvedSchemas = (specs: SchemaSpec[]): SchemaSpec[] => {
680680
visibility: 'ENVIRONMENT',
681681
},
682682
};
683-
shell.echo(
684-
chalk.yellow(`WARNING: Schema '${unresolved.path}' referenced from '${spec.contextName}' is unresolved. Falling back to 'unknown' type for '${unresolved.path}'.`)
685-
);
683+
// shell.echo(
684+
// chalk.yellow(`WARNING: Schema '${unresolved.path}' referenced from '${spec.contextName}' is unresolved. Falling back to 'unknown' type for '${unresolved.path}'.`)
685+
// );
686686
schemas.set(unresolved.path, fillerSpec);
687687
}
688688
}
@@ -709,9 +709,9 @@ const fillInUnresolvedSchemas = (specs: SchemaSpec[]): SchemaSpec[] => {
709709
visibility: 'ENVIRONMENT',
710710
},
711711
};
712-
shell.echo(
713-
chalk.yellow(`WARNING: Schema '${contextName}' referenced from '${spec.contextName}' is unresolved. Falling back to 'unknown' type for '${contextName}'.`)
714-
);
712+
// shell.echo(
713+
// chalk.yellow(`WARNING: Schema '${contextName}' referenced from '${spec.contextName}' is unresolved. Falling back to 'unknown' type for '${contextName}'.`)
714+
// );
715715
schemas.set(contextName, fillerSpec);
716716
}
717717
}

0 commit comments

Comments
 (0)