Skip to content

[WIP] Improve observers#16

Open
snusnu wants to merge 2 commits intomasterfrom
improve-observers
Open

[WIP] Improve observers#16
snusnu wants to merge 2 commits intomasterfrom
improve-observers

Conversation

@snusnu
Copy link
Copy Markdown
Owner

@snusnu snusnu commented Feb 24, 2015

  • Pass the current processor's name to observers
  • Pass the Substation::Response returned from invoking a processor to observers
  • Fix current specs
  • Add specs for the new behavior

Fixes #15

Previously only a Handler::Result was passed to observers.
To access things like the application environment and the
request input data, we need the complete Response tho.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pass the processor name when invoking observers

1 participant