-
Notifications
You must be signed in to change notification settings - Fork 43
Aspect tag change realtime events #148
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
Conversation
… (instead of “update”) so that perspectives which filter by aspect tag will get the right sample events.
| })) | ||
| .then((s) => { | ||
| expect(s.dataValues.aspect.tags).to.have.members(['T3']); | ||
| done(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iamigo Wouldn't we want the test to assert
expect(aspect.tags).to.deep.equal(['T3'])?
| }); | ||
| }) | ||
| .then(() => resolve(inst)) | ||
| .catch(reject); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iamigo do we have a test that asserts on unpublishing an aspect, it loses all of its samples?
When an aspect’s tags change, send “delete” and “add” realtime events (instead of “update”)
so that perspectives which filter by aspect tag will get the right sample events.