jmalloc / ax

A message-driven application toolkit for Go. [EXPERIMENTAL]
MIT License
9 stars 3 forks source link

Allow all "reflect-based" interfaces to optionally accept the message envelope. #120

Closed jmalloc closed 6 years ago

jmalloc commented 6 years ago

Aggregates, workflows and MySQL read-models can now accept an optional ax.Envelope immediately following the ax.Command or ax.Event parameter. The allows the application to access message meta-data from the envelope when necessary.

Fixes #119

codecov-io commented 6 years ago

Codecov Report

Merging #120 into master will decrease coverage by 0.39%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #120     +/-   ##
=========================================
- Coverage   29.67%   29.28%   -0.4%     
=========================================
  Files          66       66             
  Lines        2298     2329     +31     
=========================================
  Hits          682      682             
- Misses       1605     1636     +31     
  Partials       11       11
Impacted Files Coverage Δ
src/ax/saga/workflow.go 0% <0%> (ø) :arrow_up:
src/ax/saga/aggregate.go 0% <0%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 658068f...8a60a47. Read the comment docs.