-
Notifications
You must be signed in to change notification settings - Fork 558
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update doc comments. * Convert grammar into TS types. * Throw when 'property' is set for non-linkingObjects. * Verify idempotence (already-normalized input is unchanged). * Test validation of empty objects. * Update error messages, var names, minor refactor. * Refactor validation functions to 'Configuration.ts'. * Refactor 'NAME' and clearly distinguish btwn realm/object/property schema variables. * Sanitize top-level object schema fields. * Minor updates. * Update error messages. * Fix bug from renaming property 'constructor' to 'ctor'. * Refactor and add docs to functions. * Add only defined props (not 'undefined' due to tests). * Add minor comments. * Revert back to original logic in 'from-binding'. * Refactor 'ensure' to use 'assert'. * Make minor performance improvements. * Error on nested collections and optional collections. * Sanitize user input. * Refactor to pass both object and property name. * Error when using shorthand in object notation. * Update nullability for list, set, dictionary, linkingObjects. * Refactor tests. * Remove the need to remove undefined fields. * Rename field from 'constructor' to 'ctor'. * Remove helper variable. * Minor updates. * Update comments. * Add normalization tests. * Rewrite normalization of property schema (1st draft). * Add temporary pseudo code for property schema normalization. * Add grammar for property schema.
- Loading branch information
Showing
12 changed files
with
1,800 additions
and
217 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
Oops, something went wrong.