-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update typescript definition of toIdSchema(), and passed the new `idS…
…eparator` prop through to the `AnyOfField` and `OneOfField` inside of `SchemaField` (#2743) * Follow-up fix to #2628 - Add the new `idSeparator` prop to the `index.d.ts` file for the `toIdSchema()` function definition - Also fixed the spelling of `idPrefix` parameter * - Also passed `idSeparator` through to the `AllOfField` and `OneOfField` in the `SchemaField` code * - Updated `CHANGELOG.md` * - Updated `ArrayField` to also pass `idPrefix` and `idSeparator` down through to the inner `SchemaField` used for array field items - Updated `CHANGELOG` again - Reverted `package-lock.json` added in previous commit * - Optimized `ArrayField` to get `idPrefix` and `idSeparator` directly from props instead of passing them through (following the pattern of `readonly` et al) * - Added test to validate nesting of `idPrefix` and `idSeparator` in `ArrayField` * - Updated the `CHANGELOG` per reviewer feedback
- Loading branch information
1 parent
3052f5f
commit 00736f5
Showing
5 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters