You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 30, 2019. It is now read-only.
03a2b20 added functionality for providing/overriding DynamoDB inside our configurations to be null, which allowed us to skip/opt-out of using the DynamoDB emulator when it was not required.
However, the assertions inside of the createSchema method (schema.js, line 395-396) prevent dynamodb and dynamodbTables from being fals-y and stop execution when they are:
// These lines will throw if dynamodb/dynamodbTables are falsy
assert(dynamodb, 'must pass dynamodb');
assert(
dynamodbTables && typeof dynamodbTables === 'object',
'must pass dynamodbTables',
);
I suspect this was done because the underlying generateResolvers functions additionally takes in the dynamodb and dynamodbTables values. It would be really nice to be able to disable running DynamoDB as our current project does not use it in any capacity and the emulator has been causing team-wide Java dependency rabbit holes needlessly.
Happy to work toward a PR if nobody has the capacity to attempt this right now.
The text was updated successfully, but these errors were encountered:
03a2b20 added functionality for providing/overriding
DynamoDB
inside our configurations to benull
, which allowed us to skip/opt-out of using the DynamoDB emulator when it was not required.However, the assertions inside of the
createSchema
method (schema.js
, line 395-396) preventdynamodb
anddynamodbTables
from being fals-y and stop execution when they are:I suspect this was done because the underlying
generateResolvers
functions additionally takes in thedynamodb
anddynamodbTables
values. It would be really nice to be able to disable running DynamoDB as our current project does not use it in any capacity and the emulator has been causing team-wide Java dependency rabbit holes needlessly.Happy to work toward a PR if nobody has the capacity to attempt this right now.
The text was updated successfully, but these errors were encountered: