You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
update the orm filter func
to extend the enhancement from #21924 to fuzzy and range match. After the enhance, the orm.ExerSep is not supported in any sort of query keywords.
Signed-off-by: wy65701436 <[email protected]>
log.Warningf("The separator '%s' is not valid in the query parameter '%s__%s'. Please use the correct field name.", orm.ExprSep, keyPieces[0], keyPieces[1])
162
162
continue
163
163
}
164
-
k:=keyPieces[0]
165
-
mk, filterable:=meta.Filterable(k)
164
+
fieldKey:=keyPieces[0]
165
+
mk, filterable:=meta.Filterable(fieldKey)
166
166
if!filterable {
167
167
// This is a workaround for the unsuitable usage of query, the keyword format for field and method should be consistent
168
168
// e.g. "ArtifactDigest" or the snake case format "artifact_digest" should be used instead:
0 commit comments