I\'ve recently started using JHipster - thanks to the maintainers for this fantastic project!
In the current version of JHipster (4.10.2 at the time of writing), entitie
I've done very similar thing in my projects too, in my solution the criteria is used like this:
let criteria = {
'name.equals' : 'Optimus',
'power.equals' : '10'
};
Currently, I work on an 'auto-complete' field, which will use the criteria, and has the necessary extension to the request-util.ts. Here: https://github.com/jhipster/generator-jhipster/pull/6618
And yes, I think, that parameters of that 'query' method is bit confusing, it need to be be simplified a bit.
Maybe, we can generate a client side version of the 'EntityCriteria.java', as 'entity-criteria.ts', but I'm not sure. There is a constant push against new features, and less code, which I could understand.