B3nnyL / key-is-empty-dynamodb

Repository from Github https://github.comB3nnyL/key-is-empty-dynamodbRepository from Github https://github.comB3nnyL/key-is-empty-dynamodb

dynamodb-csharp-api

To replicate key is empty error when fetching item from dynamodb

How to use

  • Run docker-compose to start localstack
  • Run terraform -chdir=infra apply to create a new table (table name weather)
  • Run app, the app will target at localstack
  • POST http://localhost:5000/weatherforecast/ to create a new item to table
  • GET http://localhost:5000/weatherforecast/ to get item from table
    • see the infamous key is empty error
    • this is because hash key is null

About


Languages

Language:C# 92.0%Language:HCL 8.0%