-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ccac9a
commit 7854a2f
Showing
119 changed files
with
44,354 additions
and
44,049 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,16 +1,23 @@ | ||
### NEW | ||
|
||
- wip: ability to use any type for `ID` property and ability to name it based on mongodb conventions. | ||
- todo: update docs about no support for relationships with custom id types except for `ObjectId` & `long` | ||
|
||
### IMPROVEMENTS | ||
|
||
- `Entity.ID` property has been made non-nullable | ||
- support for dictionary based index keys #206 | ||
- various internal code refactors and optimizations | ||
- upgrade mongodb driver to v2.22 | ||
|
||
### BREAKING CHANGES | ||
|
||
- `Many<TParent>` is now `Many<TChild,TParent>`. | ||
- `IEntity.HasDefaultID()` method must be implemented by entities if implementing `IEntity` directly. | ||
### NEW | ||
|
||
ability to use any type for primary key property and ability to name it based on mongodb conventions when implementing `IEntity` interface. | ||
|
||
**NOTE:** due to a technical constraint, only the following primary key types are supported with referenced relationships. | ||
|
||
- string | ||
- long | ||
- ObjectId | ||
|
||
see #195 for more info. | ||
|
||
### IMPROVEMENTS | ||
|
||
- `Entity.ID` property has been made non-nullable #210 | ||
- support for dictionary based index keys #206 | ||
- upgrade mongodb driver to v2.22 | ||
- various internal code refactors and optimizations | ||
|
||
### BREAKING CHANGES | ||
|
||
- `Many<T>` is now `Many<TChild,TParent>` when defining referenced relationships. i.e. you now need to specify the type of the parent class that contains the property. | ||
- `IEntity.GenerateNewID()` & `IEntity.HasDefaultID()` method must be implemented by entities if implementing `IEntity` directly. |
Oops, something went wrong.