Closed yassir3wad closed 4 years ago
@yassir3wad Could you provide more information as to how you configured DynamoDB with Laravel? This package is mainly geared for Redis and MemCached at this time, I have not done any testing with DynamoDB. Could you provide the steps required to replicate this problem?
@mikebronner I am using laravel vapor, and vapor creates by default a DynamoDB table for caching purpose
Hi @yassir3wad,
This appears to be a limitation of DynamoDB. At this time I recommend setting up Redis cache server in Vapor, instead of using the default DynamoDB option.
I see where Laravel's DynamoDB driver is throwing this exception, so I might be able to work around this problem. I'll keep you posted.
https://github.com/illuminate/cache/blob/master/DynamoDbStore.php#L447
@mikebronner Thanks, I am already turned to use Redis cache
@yassir3wad If it's not working, you will need to configure redis in config/cache.php
as well as .env files.
Looking at this further, it appears that Laravel's DynamoDB driver does not include tagging, which makes this package useless. In conclusion, this package will currently not work with DynamoDB. I will update the readme.
when trying to update a model.
stacktrace: