-
Notifications
You must be signed in to change notification settings - Fork 16
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
Split code that's not generated in Hercules.Database #1
Comments
@expipiplus1 do you think we could use something like https://github.com/ndmitchell/derive to separate |
I think all that we need to derive can be done with template Haskell or ghc-mod at the moment. Was their anything you had in mind? |
Yes, deriving |
Oh, do you mean the deriving in the generated Database files?
…On Tue, 3 Jan 2017 at 18:17 Domen Kožar ***@***.***> wrote:
Yes, deriving Generic, ToJSON and others could be done with template
Haskell. I'm not sure what other changes we did, but we can diff :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA0U3B1f4UO4Nw0wgocZRJVp18oRudZfks5rOpCzgaJpZM4KufeF>
.
|
Yes, since |
the documentation for opaleye-gen recommends using it as a starting point for further modification, and not as a tool to be run on every db update. Just putting that here, we don't have to do it that way. |
For example:
Or check if upstream provides a way to add extra instances for each type.
The text was updated successfully, but these errors were encountered: