Uh oh!
There was an error while loading. Please reload this page.
Marketplace Repository - #5
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Step7750
commented
Dec 29, 2025
@cursor Review |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This PR adds the MarketplaceRepository implementation and corresponding tests.
Note
Marketplace repository implementation and validations
internal/repository/private/marketplace.gowith Create/Read/Update/Delete, including transactional delete that cascadeskeys; comprehensive tests inmarketplace_test.goand SQLite in-memory test harness ininternal/testutil.models.Marketplacevalidation (length/regex) and wire GORM relations inmodels.Key(json:"id", foreign key toMarketplace).DTO layer and interface shifts
internal/domain/dtopackage:MarketplaceUpdateOptions(+ToFields,Validate),Key{Update,List}Options,ReversalListOptions,AdminAuditListOptions, andCursor(+ protobuf underdto/cursorpb).dtotypes instead of ad-hoc structs and moveRawKeytodto.Environment/type consolidation and secrets
Environmenttomodels/constantsand updateconfig,secret, and related interfaces to reference it; adjust secret key prefixes accordingly.Misc
github.com/google/go-cmpfor testing; enable migrations ordering in private repo; new helper DB seed/migration in tests.Written by Cursor Bugbot for commit dfa9c7f. This will update automatically on new commits. Configure here.