Mykhailo Matviiv

Results 27 comments of Mykhailo Matviiv

Hey @wjax > ToItemAsync complains when I set ReturnValues.AllNew telling me only AllOld and None should be used. DynamoDB doesn't allow to set `ReturnValues.AllNew` for `PutItem` because it makes no...

Hey @wjax. No extra annotations are needed to use GSIs. You need to use the fluent API method `FromIndex("IndexName")` and use the primary key of that GSI configured in DDB....

Hey @wjax, We didn't plan to expose this API because it might be confusing and not really popular. Could you explain more about your use case? We could try find...

Sorry for the long delay. You can use reflection to call the generic methods with runtime types. Quick search shows this SO question with examples: https://stackoverflow.com/questions/232535/how-do-i-use-reflection-to-call-a-generic-method

Closing this one because there is no changes required to the library. Feel free to reopen this issue if you have additional info to the original issue.

Closing this one as resolved.

Hi @wahmedswl. Unfortunately, Native AOT is not supported. We use runtime code generation (System.Reflection.Emit) that is not compatible with the Native AOT. There could be more incompatibilities but I've never...

As far as I understand from .NET AWS SDK GitHub issues, they only support low-level API because it doesn't use reflection: - https://github.com/aws/aws-sdk-net/issues/2542 - https://github.com/aws/aws-sdk-net/pull/3044 There is a draft PR...

I haven't checked it myself but according to https://github.com/aws/aws-sdk-net/issues/2542#issuecomment-1506468557 and the following comments you also have to exclude some system code. Also, I'm not sure that it will be enough...

@Dreamescaper yes, I think source-gen (or interceptors as mentioned by @wahmedswl) is the way to go and it should be used for non-AOT as well just for performance gains. There...