mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): log trace when skipping reserved input field type
This commit is contained in:
parent
e8bf9ea058
commit
6643b5cec4
@ -12,6 +12,7 @@ import {
|
||||
import { t } from 'i18next';
|
||||
import { reduce } from 'lodash-es';
|
||||
import type { OpenAPIV3_1 } from 'openapi-types';
|
||||
import { serializeError } from 'serialize-error';
|
||||
|
||||
import { buildFieldInputTemplate } from './buildFieldInputTemplate';
|
||||
import { buildFieldOutputTemplate } from './buildFieldOutputTemplate';
|
||||
@ -103,7 +104,10 @@ export const parseSchema = (
|
||||
const fieldType = parseFieldType(property);
|
||||
|
||||
if (isReservedFieldType(fieldType.name)) {
|
||||
// Skip processing this reserved field
|
||||
logger('nodes').trace(
|
||||
{ node: type, field: propertyName, schema: parseify(property) },
|
||||
'Skipped reserved input field'
|
||||
);
|
||||
return inputsAccumulator;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user