@rjsf/utils 5.12.0 → 5.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/dist/index.js.map +2 -2
- package/dist/utils.esm.js +2 -1
- package/dist/utils.esm.js.map +2 -2
- package/dist/utils.umd.js +2 -1
- package/lib/schema/retrieveSchema.js +2 -1
- package/lib/schema/retrieveSchema.js.map +1 -1
- package/package.json +2 -2
- package/src/schema/retrieveSchema.ts +2 -1
package/dist/index.js
CHANGED
|
@@ -593,7 +593,8 @@ function retrieveSchemaInternal(validator, schema, rootSchema, rawFormData, expa
|
|
|
593
593
|
}
|
|
594
594
|
if (ALL_OF_KEY in resolvedSchema) {
|
|
595
595
|
if (expandAllBranches) {
|
|
596
|
-
|
|
596
|
+
const { allOf, ...restOfSchema } = resolvedSchema;
|
|
597
|
+
return [...allOf, restOfSchema];
|
|
597
598
|
}
|
|
598
599
|
try {
|
|
599
600
|
resolvedSchema = (0, import_json_schema_merge_allof.default)(resolvedSchema, {
|