dynamo icon indicating copy to clipboard operation
dynamo copied to clipboard

expressive DynamoDB library for Go

Results 45 dynamo issues
Sort by recently updated
recently updated
newest added

https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html#API_TransactWriteItems_Errors Currently the automatic retry behavior doesn't work for TransactionCanceledException, which originally was because it was missing from the Go SDK. I think it should retry the same was as...

the function calls `(*CreateTable) add` with `HashKeyType` like below https://github.com/guregu/dynamo/blob/f4c2f4c04076841a3d127e501e6d90b6e629aace/createtable.go#L154 but the `add` func expects `AttributeType` string. https://github.com/guregu/dynamo/blob/f4c2f4c04076841a3d127e501e6d90b6e629aace/createtable.go#L418-L421 I wonder if anyone uses this feature and we cloud drop it...

Hi! I have workloads that are simpler to reason about and control if there were a way to run Scan/Query in this library such that: 1. Exactly one Scan/Query call...

Hi, we are using a struct with pointer fields, example: ``` type DynamoObj struct { Id string `dynamo:"id,hash"` OrderId *string `dynamo:"order_id"` CommunicationType *string `dynamo:"communication_type"` CreatedAt int64 `dynamo:"created_at,unixtime"` } ``` When...

As of 1.22 when running `table.Scan().All(&mySlice)` it populates the correct number of items, but they are all the same. The same code running 1.21 does not have this issue.

Hello! We have a bunch of Protobuf-based objects, which we use code generation to generate the `ItemMarshaler` and `ItemUnmarshaler` functions. Since the new encoder went in https://github.com/guregu/dynamo/pull/224 -- it looks...

```go package main import ( "github.com/guregu/dynamo" ) func main() { type item struct { ChildItems []item } dynamo.MarshalItem(item{}) } ``` Running this code crashes with panic: ``` runtime: goroutine stack...

Migration to [AWS SDK v2](https://aws.amazon.com/blogs/developer/aws-sdk-for-go-version-2-general-availability/?nc1=h_ls). This PR is based on [@niltonkummer's work](https://github.com/niltonkummer/dynamo/commit/e09a5e71aa90574744c018a8b020bbac96f28379), and I made modifications to pass tests and finish as a PR to the main stream. This version...

Hello. It's very common to have structs mapped as columns in the owner's table to avoid complexity in small projects and to be able to create indexes. This is also...

This is a question for v2. Currently the builder types like `*Query` and `*Update` are mutable. This works similar to the standard library text/template package where they return themselves for...