99x / 99x/serverless-dynamodb-local
CLI_OPTIONS_SCHEMA_V3 deprecation support
- Dominant language
- JavaScript
- Stars
- 621
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
**Actual Behaviour**
```
% serverless doctor
Running "serverless" from node_modules
1 deprecation triggered in the last command:
CLI options definitions were upgraded with "type" property (which could be one of "string", "boolean", "multiple"). Below listed plugins do not predefine type for introduced options:
- ServerlessDynamodbLocal for "online", "port", "cors", "inMemory", "dbPath", "sharedDb", "delayTransientStatuses", "optimizeDbBeforeStartup", "migrate", "seed", "migration", "heapInitial", "heapMax", "convertEmptyValues", "localPath"
Please report this issue in plugin issue tracker.
Starting with next major release, this will be communicated with a thrown error.
More info: https://serverless.com/framework/docs/deprecations/#CLI_OPTIONS_SCHEMA_V3
```
**Expected Behaviour**
The issues should be fixed in the next release, so sls users don't have to disable the above mentioned deprecation in their yml file.
**Steps to reproduce it**
Add serverless-dynamodb-local to the plugins
Call: serverless doctor
Contributor guide
Research direction
Start by locating the Serverless CLI option definitions for the plugin options listed in the deprecation output. Run `serverless doctor` with serverless-dynamodb-local enabled to reproduce the warning, then verify that the listed options declare the required type information and the deprecation is no longer reported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100