-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* UUID: schema and node.js * Mock UUID JS class implemented. Test extended with type & content compare. to/from logic changed to a working solution (can be optimized). Test-packages removed. * Accessors reverted to non-string conversion, with required changes (input welcome). * Test cases expanded. * Reintroduce query-specific tests for UUID (with necessary addition to get_type_of). * query-tests added for UUID (and ObjectId, as this was currently missing). * JSC accessors implemented (UNTESTED due to RN build state). * uuid mock updated with fromExtendedJSON * query-tests for UUID & ObjectId extended with optional schemas * UUID.generate() returns a Buffer, as ObjectId does. * local bson package used in favor of mock. * temp bson package updated * added missing jsc is_uuid * using bson package UUID in tests * bson package (w. uuid) installed via github * UUID included in basic list-tests. * minor syntax changes * extended UUID query tests * tests working again... * bson deps updated to temp github path * uuid GH commit bumped * uuid GH commit bumped * expose BSON types on Realm.BSON (WIP) * test bson package updated * unused '_Binary' removed from realm constructor. * cleanup * uuid test cleanup * testUUIDQuery removed (covered by generic query tests) * integration-tests bson dependency removed * cluttering syntax changes "rolled back", for a clearer changeset. * removed unnecessary ObjectId/BSON import * reference to external bson package removed * mixed-test, pull Decimal128 & ObjectId from Realm * uuid sync test for single instances * bson depencendy remove from linkingobjects-tests * ObjectId & UUID added to testResultsSortedAllTypes * test_data.UUIDObject.json * List<UUID> test added to uuid-sync-tests * tab removed Co-authored-by: Andrew Meyer <[email protected]> * UUID case implemented in from_bson * const in favour of var Co-authored-by: Andrew Meyer <[email protected]> * bson package version bump * UUID as partition value (test does not include a complete roundtrip due to current limitations) * UUID support in Mixed Co-authored-by: Steffen Agger <[email protected]> Co-authored-by: Andrew Meyer <[email protected]>
- Loading branch information
1 parent
7831892
commit ed5d466
Showing
41 changed files
with
3,992 additions
and
2,661 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,6 @@ | |
"typescript": "^3.8.2" | ||
}, | ||
"dependencies": { | ||
"bson": "^4.2.0", | ||
"chai": "^4.2.0" | ||
}, | ||
"files": [ | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.