Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI options definitions were upgraded with "type" property #50

Closed
hrvacadaIM opened this issue Apr 26, 2024 · 2 comments
Closed

CLI options definitions were upgraded with "type" property #50

hrvacadaIM opened this issue Apr 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@hrvacadaIM
Copy link

hrvacadaIM commented Apr 26, 2024

I am using this plugin and I am getting this warning with serverless v3.38.0:

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:
 - ServerlessDynamoDBPlugin for "seed"

I see that you left out type intentionally https://github.com/raisenational/serverless-dynamodb/blob/master/src/index.ts#L59, but with serverless v4.0.0, this is going to be an error:

Starting with v4.0.0 any option extensions which does not have type defined will be communicated with a thrown error

You could maybe use type multiple?

@domdomegg
Copy link
Member

Whoops, thought we fixed this in #24 but ended up missing this one. Good catch, will fix this one too.

@domdomegg domdomegg added the bug Something isn't working label Apr 26, 2024
@domdomegg
Copy link
Member

Fixed in v0.2.53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants