-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Rework client.DB to ensure interface contains only public types #277
Commits on Mar 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b40add3 - Browse repository at this point
Copy the full SHA b40add3View commit details -
Rename GetCollection=>GetCollectionByName
Previous fn name was a bit ambigious, particularly due to the existance of GetCollectionBySchemaID, which has the same method signature.
Configuration menu - View commit details
-
Copy full SHA for 13e44c1 - Browse repository at this point
Copy the full SHA 13e44c1View commit details -
Remove schemaManager from DB interface
Exposes a large amount of internal generator types and is not nice on a public interface
Configuration menu - View commit details
-
Copy full SHA for a42645e - Browse repository at this point
Copy the full SHA a42645eView commit details -
Use internal multistore instead of public fn
Pub fn is an oddity that might be removed, this is one of two refs to it
Configuration menu - View commit details
-
Copy full SHA for 8d69a88 - Browse repository at this point
Copy the full SHA 8d69a88View commit details -
Use blockstore over dagstore for public interfaces
Removes the defra-only DagStore type/name from the db interface - blockstore concept appears to be larger than defra, and there seems no sensible way to remove it from the interfaces (p2p lib requires one). If Cid and Block should be considered standard, then blockstore should be too.
Configuration menu - View commit details
-
Copy full SHA for 7a36c25 - Browse repository at this point
Copy the full SHA 7a36c25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d6867e - Browse repository at this point
Copy the full SHA 5d6867eView commit details -
Remove public XYZStore accessors
None of these need to be public. Leaves us with the (standard-typed, standard-concept) Root and Block stores only.
Configuration menu - View commit details
-
Copy full SHA for 5234a84 - Browse repository at this point
Copy the full SHA 5234a84View commit details -
Move store and txn interfaces into client
txn is dependent on store, and txn is on the public db+collection interfaces
Configuration menu - View commit details
-
Copy full SHA for 2cd6932 - Browse repository at this point
Copy the full SHA 2cd6932View commit details -
Configuration menu - View commit details
-
Copy full SHA for 703f98e - Browse repository at this point
Copy the full SHA 703f98eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1566645 - Browse repository at this point
Copy the full SHA 1566645View commit details -
Is not used, and creates extra dependency headaches when moving public items into client package.
Configuration menu - View commit details
-
Copy full SHA for aab419a - Browse repository at this point
Copy the full SHA aab419aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 121e65a - Browse repository at this point
Copy the full SHA 121e65aView commit details
Commits on Mar 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 111ce4a - Browse repository at this point
Copy the full SHA 111ce4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 785061c - Browse repository at this point
Copy the full SHA 785061cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b81b076 - Browse repository at this point
Copy the full SHA b81b076View commit details -
Configuration menu - View commit details
-
Copy full SHA for 958c2e7 - Browse repository at this point
Copy the full SHA 958c2e7View commit details