Replaced the Fields() type switch with a fields() method on the Expression interface, eliminating the need to update a central switch when adding new expression types. Removed the now-redundant criteriaExpression() marker method since fields() alone suffices to restrict the interface. Extracted a conjunction interface for the ChildPlaylistIds() lookup used by All and Any. |
||
|---|---|---|
| .. | ||
| criteria.go | ||
| criteria_suite_test.go | ||
| criteria_test.go | ||
| export_test.go | ||
| fields.go | ||
| fields_test.go | ||
| json.go | ||
| operators.go | ||
| operators_test.go | ||
| walk.go | ||
| walk_test.go | ||