forked from sourcenetwork/defradb
-
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.
refactor: Strongly typed key refactor (sourcenetwork#17)
* Reference correct Key type in documentation * Remove commented out import * Remove commented out import * Remove commented out code * Remove commented out import * Replace references to ds.Key with core.Key * Replace ds.Key with structured data type * Remove duplicate call WithPriorityFlag is called within reg.getPriority and should not be the responsibility of the caller * Remove DataStoreKey from Collection struct Is not needed and complicates the code * Remove duplicate call WithValueFlag is called in writeObjectMarker * Take docKey string as param instead of DataStoreKey Is wasteful taking the whole struct (and initing one in most cases) * Documet commit key changes
- Loading branch information
1 parent
59c9f91
commit 68783bb
Showing
58 changed files
with
1,018 additions
and
646 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
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.