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

Allow for lookup defintions for a property #15

Open
Aaltuj opened this issue Jan 7, 2021 · 0 comments
Open

Allow for lookup defintions for a property #15

Aaltuj opened this issue Jan 7, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Projects
Milestone

Comments

@Aaltuj
Copy link
Owner

Aaltuj commented Jan 7, 2021

Requirements:

At the moment the generator supports only enums as a list. this needs to be extended with the following data types:

  • IEnumerator<>
  • Dictionary<bool, string>
  • Dictonary<bool, object> (Adds expression to the lookup, (object x)=> x.Name)

Solution:

Create an attribute that tells the generator to get the values;

[VxLookup(Expression, Name)]

@Aaltuj Aaltuj added the enhancement New feature or request label Jan 7, 2021
@Aaltuj Aaltuj self-assigned this Jan 7, 2021
@Aaltuj Aaltuj added this to Backlog in Roadmap via automation Jan 7, 2021
@Aaltuj Aaltuj moved this from Backlog to In progress in Roadmap Jan 7, 2021
@Aaltuj Aaltuj added this to the 0.6.0 milestone Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Roadmap
In progress
Development

No branches or pull requests

1 participant