Skip to content

Commit

Permalink
Add local server data update to FeatureLocal (#20)
Browse files Browse the repository at this point in the history
Add a feature to update existing datasets partially with filters
  • Loading branch information
DerAndereAndi authored May 28, 2024
2 parents 80f373f + a9263e2 commit c1d0dbd
Show file tree
Hide file tree
Showing 6 changed files with 587 additions and 326 deletions.
2 changes: 2 additions & 0 deletions api/feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ type FeatureLocalInterface interface {

// Get a copy of the features data for a given function type
DataCopy(function model.FunctionType) any
// Update the features data for a given function type
UpdateData(function model.FunctionType, data any, filterPartial *model.FilterType, filterDelete *model.FilterType) *model.ErrorType
// Set the features data for a given function type
SetData(function model.FunctionType, data any)

Expand Down
162 changes: 106 additions & 56 deletions mocks/FeatureLocalInterface.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c1d0dbd

Please sign in to comment.