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

Add ToAlias, ToAliasReference to deriveEsqueletoRecord #329

Merged
merged 2 commits into from
Aug 15, 2022

Conversation

ivanbakel
Copy link
Contributor

@ivanbakel ivanbakel commented Aug 15, 2022

These instances are required for some Esqueleto functions, such as using records in Common Table Expressions with with.

They are simply defined by lifting the record SQL constructor over the appropriate monad.

Before submitting your PR, check that you've:

After submitting your PR:

  • Update the Changelog.md file with a link to your PR.
  • Check that CI passes (or if it fails, for reasons unrelated to your change, like CI timeouts).

These instances are required for some Esqueleto functions, such as using
records in Common Table Expressions with `with`.

They are simply defined by lifting the record SQL constructor over the
appropriate monad.
@parsonsmatt
Copy link
Collaborator

This is fantastic, thanks for implementing this for us!

@parsonsmatt parsonsmatt merged commit 1088ee7 into bitemyapp:master Aug 15, 2022
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.

2 participants