-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[idea] Make second parameter of /list an Observable, not just the inner values #389
Comments
I'm not sure if exactly that is what we need but I think we should be able to accomplish it. |
@dirkpostma Is that mean that way we can have filter on top of another filter? If so, that's really a good idea. According to my understanding, right now there is no way we can do filter on top of filter, right? Like in your example, we can only get employees active, but can not get active employee with certain last name. Am I right? |
It's not going to be possible to use multiple filter criteria since this isn't supported by the SDK. It seems like it would be a nice addition to make this.query observable instead of this.querySubject. For the original problem, could we not take advantage of the ordering criteria and simply using
|
Active conversation in #770. |
Adds an auditTime(0) operator to the composed query observable so that changes made to multiple subjects are emitted as a single query (emitted in the event loop) rather than as separate queries (emitted immediately). Closes angular#389 and angular#770.
I have a list of employees. Every employee has a name and and active property, e.g.
In my view I'd like to be able to filter by active flag, for example:
This works, great stuff!
Now one step further: I'd like to be able to show either active employees or ALL employees (both active and inactive). I would like to have something like this:
Basically: make the second parameter itself an Observable in stead of just the inner values of e.g. equalTo.
Is this an idea?
The text was updated successfully, but these errors were encountered: