Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
256dpi committed Oct 8, 2023
1 parent 97667bb commit 6b3f1a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mongokit/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/256dpi/lungo/bsonkit"
)

// TODO: Whitelist supported query operators?
// TODO: Allow-list supported query operators?

// IndexConfig defines an index configuration.
type IndexConfig struct {
Expand Down
2 changes: 1 addition & 1 deletion mongokit/match.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ func matchElem(ctx Context, doc bsonkit.Doc, name, path string, v interface{}) e
bson.E{Key: "item", Value: item},
}

// TODO: Blacklist unsupported operators.
// TODO: Block-list unsupported operators.

// process virtual document
err := Process(ctx, &virtual, query, "item", false)
Expand Down

0 comments on commit 6b3f1a5

Please sign in to comment.