Skip to content
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

Missing replacement for dynamodb.MarshalMap and dynamodb.UnmarshalMap #790

Closed
ianchildress opened this issue Oct 2, 2020 · 9 comments
Closed
Labels
guidance Question that needs advice or information.

Comments

@ianchildress
Copy link

Confirm by changing [ ] to [x] below:

The documentation didn't update with the v0.25.0 release when dynamodb.MarshalMap disappeared. There isn't an obvious replacement now that AttributeValue has moved from dynamodb to the types package.

@ianchildress ianchildress added the guidance Question that needs advice or information. label Oct 2, 2020
@skmcgrail
Copy link
Member

skmcgrail commented Oct 2, 2020

Thanks for reaching out @ianchildress, we will be reintroducing support for the dynamodbattribute package for marshaling and unmarshaling in a later release. We are still finalizing some details around the API model and the resulting client generation for the AttributeValue type, which would change how these types are interacted with. As soon as that is complete we will be porting this feature back into the SDK.

@ianchildress
Copy link
Author

Thank you for the reply @skmcgrail . What should we do in the meantime? It seems our option is either we don't use this version or we need to write our own Marshaller?

With respect, I don't understand what the developer is expected to do with this release when basic functionality is unavailable. The heavy the lifting being passed to the developer. This is incredibly frustrating and has already taken a great deal of our time trying to find a solution.

@catpaladin
Copy link

Thanks for reaching out @ianchildress, we will be reintroducing support for the dynamodbattribute package for marshaling and unmarshaling in a later release. We are still finalizing some details around the API model and the resulting client generation for the AttributeValue type, which would change how these types are interacted with. As soon as that is complete we will be porting this feature back into the SDK.

Would the port be backwards compatible with v0.24.0 and earlier?

In the meanwhile, are there any examples/resources on usage without previously mentioned MarshalMap and UnmarshalMap?

@jasdel
Copy link
Contributor

jasdel commented Nov 11, 2020

Thanks for reaching out and voicing your support for the DynamoDB AttributeValue marshaler utilities. I've created #895 to track this feature being added back to the v2 SDK, along with associated features that need to be closed out. Lets use that issue for tracking this feature.

@jasdel jasdel closed this as completed Nov 11, 2020
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@qfornaguera
Copy link

Just in case someone ends up here in the same coil of desperation...

https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue#hdr-AttributeValue_Marshaling

import "github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue"

@frioux
Copy link

frioux commented May 18, 2022

@qfornaguera thank you!

@IvanChernoborodov
Copy link

@qfornaguera Thanks a lot!!!!

@vishwanathsukumardh
Copy link

Thanks for the reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

8 participants