Noticed that OrderBuilder does the same kind of translation, but it
isn't trivial to fix as it does type checking on the properties used
to do the ordering.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>
list(uuid: string) {
const filters = new FilterBuilder()
- .addEqual("headUuid", uuid)
- .addEqual("tailUuid", TagTailType.COLLECTION)
- .addEqual("linkClass", LinkClass.TAG)
+ .addEqual("head_uuid", uuid)
+ .addEqual("tail_uuid", TagTailType.COLLECTION)
+ .addEqual("link_class", LinkClass.TAG)
.getFilters();
const order = new OrderBuilder<TagResource>()