kitar / laravel-dynamodb

A DynamoDB based Eloquent model and Query builder for Laravel.
MIT License
179 stars 27 forks source link

Add a protocol by default on config endpoint #23

Closed lucasgiovanny closed 1 year ago

lucasgiovanny commented 1 year ago

This PR closes #18.

When you set DYNAMODB_ENDPOINT without a protocol, for example: dynamodb.eu-west-1.amazonaws.com the AWS SDK throws an error.

This PR adds a protocol by default on the endpoint config, if not present, to avoid this situation.