JSON API new spec with deref
This commit is contained in:
@@ -43,3 +43,7 @@ func (g Graph) Insert(ctx context.Context, one entity.One) error {
|
||||
func (g Graph) Update(ctx context.Context, one entity.One, modify interface{}) error {
|
||||
return g.mongo.Update(ctx, one, modify)
|
||||
}
|
||||
|
||||
func (g Graph) Delete(ctx context.Context, filter interface{}) error {
|
||||
return g.mongo.Delete(ctx, filter)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user