issue-28: added default limit as a setting (#29)

This commit is contained in:
Leon Mika 2022-09-30 22:28:59 +10:00 committed by GitHub
parent 93ec519127
commit efdc7f9e25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 194 additions and 148 deletions

View file

@ -106,6 +106,10 @@ func createTable(ctx context.Context, dynamoClient *dynamodb.Client, tableName s
type notROService struct{}
func (n notROService) DefaultLimit() int {
return 1000
}
func (n notROService) IsReadOnly() (bool, error) {
return false, nil
}