aws / aws-dax-go

AWS DAX SDK for the Go programming language. https://aws.amazon.com/dynamodb/dax
Apache License 2.0
47 stars 48 forks source link

Compatiblity with 1.16 SDK releases? #11

Closed ryanschneider closed 4 years ago

ryanschneider commented 5 years ago

Now that #10 is closed and 1.0.2 is released, I tried upgrading both our our dependencies to the latest versions:

aws-dax-go: 1.0.2 aws-sdk-go: 1.16.6

However, when I do so dax fails to compile:

vendor/github.com/aws/aws-dax-go/dax/service.go:129:5: cannot use (*Dax)(nil) (type *Dax) as type dynamodbiface.DynamoDBAPI in assignment:
    *Dax does not implement dynamodbiface.DynamoDBAPI (missing TransactGetItems method)

Which version(s) of the aws-sdk-go is 1.0.2 compatible with?

jdhardy commented 5 years ago

aws-dax-go v1.0.2 should be compatible with aws-sdk-go up to and including v1.15.84; the transactions APIs were introduced in v1.15.85, which is what breaks compilation.

A version of aws-dax-go that supports transactions is planned to be released shortly.