-
Notifications
You must be signed in to change notification settings - Fork 862
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
Add DynamoDBContext.SaveAsync(Type valueType, object value, ...) #2503
Comments
Needs review with the team. |
@ashishdhingra - I'm happy to do more on the PR if somebody can point me to docs on how to get unit tests to build. I've pulled latest master branch in, but the unit tests project is failing to build, and I have not yet figured out what I'm doing wrong. Let me know if there is anything else I can do to help with this, it's quite needed for my use-case. |
@ericjpeters What are the compiler errors you are seeing for the unit test projects? |
Windows 11, VS 2022 v17.4.4, clean checkout of Master from today, using AWSSDK.NetStandard.sln -- rebuild all on the solution results in 10 errors in UnitTests.NetStandard:
<img width="1396" alt="image" src="https://user-images.githubusercontent.com/10065299/215191688-68b1d330-1e8e-49c7-890a-c353a9527dcd.png">
I’m pretty sure there’s something I’m not doing correctly, but I have not been able to find any documentation stating what that might be.
-Eric.
From: Norm Johanson ***@***.***>
Sent: Friday, January 27, 2023 11:49 AM
To: aws/aws-sdk-net ***@***.***>
Cc: Eric J. Peters ***@***.***>; Mention ***@***.***>
Subject: Re: [aws/aws-sdk-net] Add DynamoDBContext.SaveAsync(Type valueType, object value, ...) (Issue #2503)
@ericjpeters<https://github.com/ericjpeters> What are the compiler errors you are seeing for the unit test projects?
—
Reply to this email directly, view it on GitHub<#2503 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACMZLEZDAWI4J5HXJX4C3JLWUQDCPANCNFSM6AAAAAATE52GEY>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
Corresponding PR #2506 was merged and released. Closing the issue. |
Comments on closed issues are hard for our team to see. |
Describe the feature
The DynamoDBContext save a SaveAsync(T value, ...) method. There are scenarios where the type is not known at compile-time -- for example, when hooking into EF's ChangeTracker to record audit logs from EF into DynamoDB.
It would be helpful to expose the pre-existing non-generic functionality of DynamoDBContext so that SaveAsync(Type valueType, object value, ...) is possible, as an alternative but equivalent path to SaveAsync(T value, ...) when T is not known at compile-time.
Use Case
There are scenarios where the type is not known at compile-time -- for example, when hooking into EF's ChangeTracker to record audit logs from EF into DynamoDB.
Proposed Solution
I will provide a PR. It's quite trivial.
Other Information
No response
Acknowledgements
AWS .NET SDK and/or Package version used
AWSSDK.DynamoDBv2 v3.7.101.10
Targeted .NET Platform
.NET 7
Operating System and version
Windows 11 22H2
The text was updated successfully, but these errors were encountered: