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

Make Registry remember projection descriptions #30

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@noberasco
Copy link

commented May 28, 2019

Method initialize() in class Registry maintains human-readable descriptions for the various projections.
However, these descriptions are not exported.
Actually, register() method completely ignores them, so they are lost.

This pull request introduces a small refactoring to make Registry remember these descriptions in such a way that, after calling getProjection() to retrieve a projection, it is possible to call getDescription() on the returned projection to get this human-readable description.

Make Registry remember projection descriptions
Signed-off-by: Michele Noberasco <michele.noberasco@tiscali.it>

@noberasco noberasco force-pushed the noberasco:projection_descriptions branch from 0b00202 to 2951005 May 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.