Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document origins of events for published events #139

Closed
odrotbohm opened this issue Nov 26, 2020 · 0 comments
Closed

Document origins of events for published events #139

odrotbohm opened this issue Nov 26, 2020 · 0 comments
Assignees
Labels
in: documentation support Documentation generation in: module model Code module meta model type: enhancement New feature or request
Milestone

Comments

@odrotbohm
Copy link
Collaborator

Listing events published by a module is finde but it would be cool if the origin of the events was listed as well, i.e. all methods that call constructors of the event type or static factory methods returning the event type itself.

@odrotbohm odrotbohm added type: enhancement New feature or request in: module model Code module meta model in: documentation support Documentation generation labels Nov 26, 2020
@odrotbohm odrotbohm added this to the 1.1 M1 milestone Nov 26, 2020
@odrotbohm odrotbohm self-assigned this Nov 26, 2020
odrotbohm added a commit that referenced this issue Nov 26, 2020
For published events we now collect all constructor invocations and invocations of static factory methods on the type and expose them as source of the event. Tweaked the rendering of the events in Asciidoctor by also rendering those sources.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: documentation support Documentation generation in: module model Code module meta model type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant