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 MR updates the repo to be compatible with the current
develop
branch of amazonka. Amazonka has not been getting releases to hackage with any kind of regularity so at my job we've moved to tracking the develop branch. Because your project is released to hackage you might decide that you only want to target the hackage 1.6.1 version which was released in February 2019, in which case feel free to close this MR or keep it open until amazonka gets a release.There's a lot of diff here but here's a summary of the changes to amazonka off the top of my head:
send
takes the env value directly. So your APIs that hit AWS now take an additional argument.new
, e.g.putItem
becomesnewPutItem
putItem_
) instead of a cryptic abbreviation.Text
and what were previously sum type constructors are view patterns. I had to add a custom sum typeScalarValueType
for the GADTScalarValue
because you can't use view patterns as type parameters for GADTs. The functionality should be equivalent though.[a]
are nowMaybe [a]
. So you'll see a lot offromMaybe mempty
that smooths over this.I also added stack files to make it a bit easier to test reproducibly but feel free to remove that.
I've merged this branch into a large project that uses
dynamodb-simple
and so far everything seems to be working.