-
Notifications
You must be signed in to change notification settings - Fork 20
Enable event listeners via config. Tests. Docs. #62
Enable event listeners via config. Tests. Docs. #62
Conversation
Guys, sorry for the feature expansion... It's still the same feature, just more robust. Here's the breakdown of what I did:
Something of note is the convention for config keys. I'm not sure of the latest ZF/ZE convention for config keys. I've been using hyphens in my stuff but there's some crossover in the various recent ZE packages. Has the convention been documented somewhere? My guess is that underscores are preferred so I went ahead and changed to use them instead of hyphens. |
7a41fe8
to
6657881
Compare
Hi guys -- When I started this PR, the |
* Remove commented out example listeners config * Rewrite docs with subheadings and better example configs * Empty config returns empty array instead of null * Add some basic error handling for missing container services * Tests
- trailing commas in array entries - consistent whitespace
6657881
to
93ddf21
Compare
I've rebased against current develop, added a note to the docs about the feature being from version 1.3.0+, and added some minor CS changes; will merge and release shortly! Thanks, @marcguyer ! |
Provide a narrative description of what you are trying to accomplish:
develop
branch, and submit against that branch.CHANGELOG.md
entry for the new feature.Adds a config option (
listeners
). Using the new config array, a user may choose to attach 1 or more listeners to listen for events emitted by the authorization server.