InstantAPIs icon indicating copy to clipboard operation
InstantAPIs copied to clipboard

Allow injection of business logic

Open csharpfritz opened this issue 2 years ago • 2 comments

Introduce Action parameters on configuration that optionally allow injection of methods to be triggered before the data interaction and after the data interaction

  • [ ] OnBefore delegate property added
  • [ ] OnAfter delegate property added

csharpfritz avatar Feb 27 '22 14:02 csharpfritz

I'm considering closing this as it introduces more functionality that pushes towards writing more code than building a minimal API directly

csharpfritz avatar Apr 04 '22 18:04 csharpfritz

I'd like to have these. Idea would be to execute code after the instant API saved the changes, i.e. to send the change out to connected clients via SignalR (realtime-push about added / changed entries).

gingters avatar Sep 08 '22 11:09 gingters