-
Notifications
You must be signed in to change notification settings - Fork 229
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
executeScalarList should use converters #36
Comments
I have a possible suggestion here. Maybe you could simplify the interface by having For backwards compatibility, you could keep Looking at the existing code, I think this could work by checking if |
That is an interesting idea! The only consequence I can think of, that might be a problem, is if there is a property on the class with the same name as the column in the database. In this case, sql2o will try to convert that property instead of using a converter on the class itself. But if we can find a good way of handling this, I am very positive to the idea. What do you think? |
Yeah good point. I think I have an idea for how it could work. I'll try it out and submit a pull request for you to review if I can get it working |
executeScalarList should use registered converters.
The text was updated successfully, but these errors were encountered: