-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve inferred types for _raw property (#820)
This PR makes improvements regarding the `_raw` property of `Document` instances (which also impacts `Model` since it extends `Document`). The following changes are included: - `DocumentData` will now include the `_raw` property if the schema is null - `DocumentCompositeValue` will now include the `_raw` property if the schema is null - `InferDocumentObject` now accepts a `null` schema in its generic. If the schema is `null` then the `_raw` property will be included on the inferred output - `InferModelObject` now accepts a `null` schema in its generic. If the schema is `null` then the `_raw` property will be included on the inferred output
- Loading branch information
1 parent
4b04f2e
commit bbdaef6
Showing
5 changed files
with
39 additions
and
21 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