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

added Table.mapMapper support #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

added Table.mapMapper support #20

wants to merge 1 commit into from

Conversation

Miha-x64
Copy link

@Miha-x64 Miha-x64 commented Oct 17, 2017

Added mapMapper() function to Table class.
This is useful when you want to convert Map<String, String> (e. g. filled web-form) into an object, and helps to reuse create(Value<T>) function for this case.

If this implementation is too specific, I'll be glad to see and implemeny any suggestions on how to make it more general-purpose.

@Miha-x64
Copy link
Author

Implementing such mapping out of Kwery is problematic, because columns do not preserve type information. Using this workaround at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant