forked from kohanyirobert/ebson
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The reason for this is that MongoDB uses keys that starts with '$' or contains '.' internally which have two consequences: (a) users aren't *normally* permitted to create documents using such keys, (b) documents sent by the database need to handled *differently* upon deserialization as they could contain such keys quite often. The whole *checking-for-invalid-keys* should be handled at MongoDB driver level (morelike at database level, but whatever ...). - Remove document key checks from DefaultBsonDocument, DefaultBsonDocumentBuilder and BsonDocuments. - Update BsonDocument, BsonDocument.Builder and BsonDocuments documentation accordingly. - Delete BsonPreconditions as the class was used only at one place of the code.
- Loading branch information
1 parent
8c6a935
commit 2638eb1
Showing
6 changed files
with
20 additions
and
118 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
28 changes: 0 additions & 28 deletions
28
src/main/java/com/github/kohanyirobert/ebson/BsonPreconditions.java
This file was deleted.
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