chore: add comment to schema to link duplicated comments together

Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
This commit is contained in:
Benjamin Janssens
2024-07-15 09:51:52 +02:00
parent be632623e5
commit 5436d971d9
2 changed files with 2 additions and 0 deletions
@@ -77,6 +77,7 @@ export type RepoBranchPickerUiOptions =
export type RepoBranchPickerProps = typeof RepoBranchPickerFieldSchema.type;
// This has been duplicated from /plugins/scaffolder/src/components/fields/RepoUrlPicker/schema.ts
// NOTE: There is a bug with this failing validation in the custom field explorer due
// to https://github.com/rjsf-team/react-jsonschema-form/issues/675 even if
// requestUserCredentials is not defined
@@ -97,6 +97,7 @@ export type RepoUrlPickerUiOptions =
export type RepoUrlPickerProps = typeof RepoUrlPickerFieldSchema.type;
// This has been duplicated to /plugins/scaffolder/src/components/fields/RepoBranchPicker/schema.ts
// NOTE: There is a bug with this failing validation in the custom field explorer due
// to https://github.com/rjsf-team/react-jsonschema-form/issues/675 even if
// requestUserCredentials is not defined