Ash FrameworkAF
Ash Framework6mo ago
7 replies
lifeofdan

Subscription to automated resource creation

I have a question regarding subscriptions. I've set up subscriptions in my application and I have one subscription endpoint that works perfectly. I have a 2nd one that isn't working at all. However, the 2nd one monitors a resource that is created in an automated way from the backend by an ash notifier when a different resource is created.

Example: Let's pretend we have a Message Resource and an Alert Resource. We have a Ash.Notifier that on create checks if the message has the keyword "foo". If it is, we create an Alert . If I have a subscription to the Alert resource, should I expect that subscription to work even though it wasn't created from the frontend? I would assume yes but that is not what I'm experiencing.
Was this page helpful?