Skip to content

JasperFx 2.85.1

Choose a tag to compare

@jeremydmiller jeremydmiller released this 12 Oct 20:16

Event Modeling

  • A declared Human trigger is compatible with how the code receives it. Human against a derived MessageHandler, Http or Grpc no longer raises a SourceDisagreement. The merged slice keeps the how on TriggerKind and the who on the new TriggeredBy. Human against JobScheduler/External still disagrees.
  • HandlerMethod on slices and handler relationships names the user's handler or endpoint method. HandlerType is always the user's class, never generated code.
  • @jasperfx/event-model-vue 0.15.0: wire types gain triggeredBy, handlerType, handlerMethod, readsFrom and PublisherOrigin.httpRouteName (#1007), and triggerOrigin is typed as the object it is.