Better checking for api sort param to prevent sql injection

And moved filters out and cached object reflection
This commit is contained in:
Jamie Curnow committed 2023-07-24 11:49:08 +10:00
1 parent 9b32329f41
commit a0e17f9678
12 files changed
+312 -223

No files matched your search

+6
View File
@@ -6,3 +6,9 @@ type Filter struct {
Modifier string `json:"modifier"`
Value []string `json:"value"`
}
// FilterMapValue ...
type FilterMapValue struct {
Type string
Field string
}