JSON API new spec with deref

This commit is contained in:
Bel LaPointe
2020-07-22 20:40:44 -06:00
parent 4d667e7b11
commit 710e20d6e0
8 changed files with 86 additions and 46 deletions

View File

@@ -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)
}