Skip to content

CLI_OPTIONS_SCHEMA_V3 deprecation support #286

@icarusdes

Description

@icarusdes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions