Skip to content

Commit 1bd5c00

Browse files
author
Ruben van Leeuwen
committed
2046: improved docstring
1 parent 5213b64 commit 1bd5c00

File tree

1 file changed

+3
-1
lines changed
  • frontend/packages/pydantic-forms/src/core

1 file changed

+3
-1
lines changed

frontend/packages/pydantic-forms/src/core/helper.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,13 @@ export const getErrorDetailsFromResponse = function (
5252

5353
/**
5454
* This functions looks to see if the field has any of the anyOf, allOf or oneOf keys. If it
55-
* does hoists these properties to the root level. This is for use cases where we get field definitions
55+
* does hoists these properties to the root level. When hoisting the root level properties win over the
56+
* hoisted one. This is for use cases where we get field definitions
5657
* like this:
5758
* {
5859
* "id": "bfd",
5960
* "type": "object",
61+
* "required": ["enabled"],
6062
* "allOf": [
6163
* {... propertySchemaParsed}
6264
* {type: "null"}

0 commit comments

Comments
 (0)