-
Notifications
You must be signed in to change notification settings - Fork 115
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
Convert joins into nested tuples #189
Comments
:) I have another idea that will work well with nested records as well. I don't think one can keep avoiding nested records. What kind of JSON are you going to toss across the wire at the end of the request/response cycle? |
I'm not sure I understand your question about JSON. Can you rephrase? |
I meant that in any web programming project, if you're trying to represent your data (which may be stored in an RDBMS) via a JSON API for building a UI on top of it, you'll most probably end up with a nested record structure in Haskell. So, we have to solve for that case. Is there any other way to do this without using nested records? |
I tried my approach, and failed with nested records yet again. This is so frustrating. Help would be appreciated. |
You're trying to bite off a lot in one go.
|
Closing this. Feel free to contact me for any more help. |
Migrated from: prowdsponsor/esqueleto#145 (comment)
@saurabhnanda This will blow your mind. Generalized grouping/nesting with
group
:The text was updated successfully, but these errors were encountered: