-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(key)!: use a builder-like pattern and owned internal represe…
…ntation (#168) * refactor(key)!: change DatabaseKey to owned representation in preparation of adding additional key element types, change DatabaseKey to use an owned representation instead. BREAKING CHANGE: cases where DatabaseKey objects were directly constructed will need to be updated * refactor(key)!: builder-like DatabaseKey Change DatabaseKey objects to be initialized empty and accept with_* functions to provide key elements. This should greatly simplify adding additional key element types in the future. BREAKING CHANGE: Key construction is changed for all users of the library. * refactor(key)!: make member variables private In preparation for future key elements, hide the internal structure of the DatabaseKey objects to prevent direct construction, so that additional elements can be added without breaking backward compatibility. BREAKING CHANGE: If elements were provided directly, this is no longer supported. --------- Co-authored-by: Stefan Seemayer <stefan@seemayer.de> Co-authored-by: louib <code@louib.net>
- Loading branch information
1 parent
ae1360f
commit c89df31
Showing
14 changed files
with
132 additions
and
142 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
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.