-
Notifications
You must be signed in to change notification settings - Fork 39
ViewInstanceDeletion #60
Comments
It's skipped because we (currently) cannot delete view instances :) And we can't delete view instances because that functionality was never made, because noone actually seemed to need it, because I have yet to see a case where it cannot be worked around, and because it raises a bunch of questions. E.g., if a view decides to delete itself (by calling Also, I never found an elegant way of passing the fact that the view called Thoughts? |
Yes, that's what I thought :) My initial thought was to just have IsDeleted information on the view it self - until I saw the test. I think we should just delete the test and let the view implementer handle it any way he/she finds appropriate for the given situation. |
I'm currently using soft deletes, but some views will grow very big, which is not ideal. It's not a priority, but this feature would be nice to have and we should think about how to handle this.
I have create and delete events for each aggregate root. A root can only be created with a CreatedEvent. So if I fire off a CreatedEvent for an aggregate root that has been soft deleted, I make them re-appear. Every other event fails because they shouldn't be called on deleted instances. |
There's a test named
ViewInstanceDeletion
which is currently skipped. Shouldn't we be able to delete view instances? Why is it skipped?The text was updated successfully, but these errors were encountered: