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 e9cc7de commit b966cdbCopy full SHA for b966cdb
packages/core/src/v3/resource-catalog/standardResourceCatalog.ts
@@ -61,7 +61,7 @@ export class StandardResourceCatalog implements ResourceCatalog {
61
return;
62
}
63
64
- const { fns, ...metadata } = task;
+ const { fns, schema, ...metadata } = task;
65
66
if (!task.id) {
67
@@ -74,8 +74,8 @@ export class StandardResourceCatalog implements ResourceCatalog {
74
this._taskMetadata.set(task.id, metadata);
75
this._taskFunctions.set(task.id, fns);
76
77
- if (task.schema) {
78
- this._taskSchemas.set(task.id, task.schema);
+ if (schema) {
+ this._taskSchemas.set(task.id, schema);
79
80
81
0 commit comments