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 ColumnLike with only one type #82

Open
darkfrog26 opened this issue Jan 21, 2016 · 0 comments
Open

Make ColumnLike with only one type #82

darkfrog26 opened this issue Jan 21, 2016 · 0 comments
Milestone

Comments

@darkfrog26
Copy link
Contributor

Currently ColumnLike has two generic types: 1.) the type from the database, 2.) the type it should be used as in Scala.

I think we should only have the type in the database and leave it up to mapper, queries, etc. to do on-demand conversion as different queries need data in different ways (Option[Int], Int, Ref, String, Long, etc.)

This should both simplify setting up the tables in the first place as well as increase the flexibility of the system overall.

@darkfrog26 darkfrog26 added this to the 2.0 milestone Jan 21, 2016
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

No branches or pull requests

1 participant