-
Notifications
You must be signed in to change notification settings - Fork 38
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
Allow passing translateConfig to Dynamo client and doc client #542
Comments
I have the same issues. I want to custom endpoint and region for |
@bzang @hungds99 a big update is about to land in Arc Functions: 8.0 drops the AWS SDK (and stock DynamoDB client) in favor of
For whatever it's worth, under the hood |
hi @ryanblock , I am try to using aws-lite for my Shopify App Remix project but I got this issue : import AwsLite from '@aws-lite/client';
const awsLiteClient = async () => {
const aws = await AwsLite({ region: 'us-west-1' });
// Easily interact with the AWS services your application relies on
await aws.DynamoDB.PutItem({
TableName: '$table-name',
Item: {
// AWS-lite automatically de/serializes DynamoDB JSON
pk: '$item-key',
data: {
ok: true,
hi: 'friends',
},
},
});
}; |
Did you install |
@ryanblock Yes, my dependencies:
|
I wonder if that's because Remix is bundling things – I'd suggest getting started without bundling so you can isolate issues as you pick up the new SDK. From there you may need to specify a path to the DynamoDB plugin with the |
Actually, I may have also misread your issue above. So the DynamoDB call works ok, it's the types that are broken? If so, can you open an issue in the |
@ryanblock Sure, I have another question. Currently, I am using |
Is your feature request related to a problem? Please describe.
In certain situations I need to use the Dynamodb option to
removeUndefinedValues
. Currently it doesn't seem like we can pass these options in thearc.tables()
.Describe the solution you'd like
I'd like to be able to pass config parameters to the
tables()
call in order to pass these option to where the Client and DocClient are being instantiated. Maybe something likeDescribe alternatives you've considered
If it set up my own Dynamo client instance instead of using the arc provided
tables()
call, users would still have problems because we'd lose the advantages of the main arcfunctions
package.The text was updated successfully, but these errors were encountered: