Skip to content

Conversation

@ivb-supercede
Copy link
Contributor

@ivb-supercede ivb-supercede commented Sep 9, 2021

This is part of the followup to #1298.

The code exposed in this new Database.Persist.Postgresql.Internal module is very helpful to third-party libraries which want to use functions from postgresql-simple to produce PersistValues for feeding to persistent functions.

Exposing them is necessary to allow for a third-party library which provides streaming of Persistent entities using Postgres cursors.

Before submitting your PR, check that you've:

  • Documented new APIs with Haddock markup
  • Added @since declarations to the Haddock
  • Ran stylish-haskell on any changed files.
  • Adhered to the code style (see the .editorconfig file for details)

After submitting your PR:

  • Update the Changelog.md file with a link to your PR
  • Bumped the version number if there isn't an (unreleased) on the Changelog
  • Check that CI passes (or if it fails, for reasons unrelated to your change, like CI timeouts)

This is part of the followup to #1298.

The code exposed in this new `Database.Persist.Postgresql.Internal`
module is very helpful to third-party libraries which want to use
functions from `postgresql-simple` to produce `PersistValue`s for
feeding to `persistent` functions.

Exposing them is necessary to allow for a third-party library which
provides streaming of Persistent entities using Postgres cursors.
Copy link
Collaborator

@parsonsmatt parsonsmatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, thanks!

@parsonsmatt parsonsmatt merged commit 9e84929 into yesodweb:master Oct 7, 2021
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