-
Notifications
You must be signed in to change notification settings - Fork 107
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
Update esqueleto-next
#418
Open
parsonsmatt
wants to merge
36
commits into
esqueleto-next
Choose a base branch
from
mattp/update-esqueleto-next
base: esqueleto-next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Name conflict dodges * Add changelog link * whoops lmao
* Add `ToAlias`, `ToAliasReference` for <=16-tuples This adds a `ToAlias` and `ToAliasReference` instance for every tuple size from 9 to 16. These tuple sizes are supported elsewhere, but those typeclasses only had instances for tuples up to size 8. This also adds `from*` functions for tuples of size 9-16, which didn't exist before. * Add to changelog, bump version for #328 --------- Co-authored-by: Matt Parsons <[email protected]>
* Fix `myAge` type in `deriveEsqueletoRecord` documentation I wrote down the wrong type for some reason, stripping a `Maybe`. * Bump version 3.5.10.0 -> 3.5.10.1
* Newlines between query chunks * Fix whitespace newline issues * changelog, cabal, new ghcs * ok * lmao * uhhh
* Fix Postgres syntax for NOWAIT * Add noWait test for PostgreSQL * Bump version
* work * Implement ToMaybe instances for SqlRecord * Guard OverloadedRecordDot with CPP pragma * Better formatting for record spec for GHC <9.0.2 * DoE constructor * Update changelog * Test multiple left joins on the same record * Switch left join values * More descript in changelog * Avoid OverloadedRecordDot Usage in Record Specs * Try quick 8.6.5 fix * Another 8.6.5 attempt * Update src/Database/Esqueleto/Record.hs --------- Co-authored-by: Rebecca Turner <[email protected]> Co-authored-by: Matt von Hagen <[email protected]>
* fix build for ghc 9.8.1 (#386) * add information to changelog, fix some formatting and versioning (#386) * move info in changelog to a different section, add ghc 9.8.1 to github workflows (#386) * Apply suggestions from code review --------- Co-authored-by: Christian Berg <[email protected]> Co-authored-by: Matt von Hagen (Parsons) <[email protected]>
* Add dependencies to nix packages in stack.yaml * Fix some shouldSatisfy predicates that were always True
Required ToMaybe, ToAlias, ToAliasReference instances for SqlMaybes Also, required implementation changes to the sqlSelectProcessRow for SqlMaybes
add FOR NO KEY UPDATE and FOR KEY SHARE
* Do not error on any AppT in sqlMaybeSelectProcessRowDec No need to be this restrictive in deriveEsqueletoRecord For example, AppT ListT _ and AppT (ConT _) _ are both fine but would throw an error here before this change. * Apply suggestions from code review --------- Co-authored-by: Matt Parsons <[email protected]>
* Add tests for not_ applied to more complex expressions * Always parenthesize arguments to not_ * Update test/Common/Test.hs --------- Co-authored-by: Matt Parsons <[email protected]>
* Remove CPP for ConP * Use quote for toMaybeTDec * Bump version and add chnglog entry * Convert more code to use TH quotes * Fix newName error --------- Co-authored-by: Matt Parsons <[email protected]>
* Update CI * 9.12 has a failing dependency * lol sigh
* Docs * changelog * changelog
* Alias CTEs upon initialising * Bump version, adhere to style guide * Update changelog * Incorporate CTE test --------- Co-authored-by: Rik van Toor <[email protected]>
* Derive Traversable for Value * changelog, cabal
* Add NULLS FIRST / NULLS LAST qualifiers for ordering * Fixup * Add tests * Fix test --------- Co-authored-by: Matt Parsons <[email protected]>
* Add Functor and Bifunctor instance for pairs * Add since * changelog entry
* Export SqlSelect from Database.Esqueleto.Experimental * cabal, changelog
* Materialized CTEs for Postgres * changelog update * fix tests --------- Co-authored-by: Joel McCracken <[email protected]>
* Remove `Coercible` abiilty for `SqlExpr`. (#413) * Remove Coercible * Remove coercible * update docs and changelog * Support upsert with empty updates (#301) * Support upsert with empty updates * stylish, changelog link * clean * remove focus * oh no * update with new api * tests pass * Fix distinctOn (#287) * Fix distinctOn * lol * expose * Deprecation Cycles for 3.6 (#412) * Deprecate ilike outside of Postgres * lol * Deprecation Cycling * wow okay cool * oh woops * Add fixity on question-dot operator (#420) * Add fixity on question-dot operator * changelog link * Deprecate LockingKind constructors (#421) * Deprecate LockingKind constructors * changelog * `HasField` for `SqlExpr (Maybe (Entity a))` joins `Maybe` (#422) * HasField on SqlExpr (Maybe Entity) joins Maybe * hmmm that works kinda nicely * Incorporate changes from the work codebase * add another test case * changelog * wat * wat * wat * 3.6 fixups (#425) * Re-export Nullable from ToMaybe * Fixity on ilike * lolwhoops * changelog link * add toBaseIdMaybe and fromBaseIdMaybe * start sketching out the sqlcoerce class * no sqlcoerce yet * ok for convenience
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates
esqueleto-next
with the changes that have happened on 3.5.