resgateio / resgate

A Realtime API Gateway used with NATS to build REST, real time, and RPC APIs, where all your clients are synchronized seamlessly.
https://resgate.io
MIT License
685 stars 67 forks source link

Create event #132

Closed jirenius closed 4 years ago

jirenius commented 4 years ago

Story

The services need a way to tell other services that a resource has been created.

Solution

Add a create event to the RES Service specification, and make it a reserved word.
The event should have no payload.

This event can be used by services that logs events, or by middleware that synchronizes resources with other instances of the service.

Notes

Compatibility

jirenius commented 4 years ago

Resolved in #133