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

List all cast!-able static events for a component #10

Open
sgrove opened this issue Aug 3, 2015 · 0 comments
Open

List all cast!-able static events for a component #10

sgrove opened this issue Aug 3, 2015 · 0 comments
Assignees
Labels

Comments

@sgrove
Copy link
Member

sgrove commented Aug 3, 2015

We should possibly encourage components to be annotated with a list of possible events they can cast whenever possible (dynamic events may not be possible to list, but are pretty rare, I haven't come across the need for one yet).

This + an event registry gives us two nice tooling features out of the box:

  1. Tooling can look up the signature of an event (in the registry) and use that for e.g. test.check generating an event from a component
  2. Upon changing a component/event signature, it should be easy to query (at run time) for which dependencies are now dirty and need to be fixed. Particularly handy for upgrading, as we iterate through design decisions.
@sgrove sgrove added the research label Aug 3, 2015
@sgrove sgrove self-assigned this Aug 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant