juanjoDiaz / serverless-middleware

Serverless plugin to allow middleware handlers configured directly in serverless.yaml
MIT License
18 stars 11 forks source link

Doesn't work with Serverless v3 #35

Closed bfaulk96 closed 2 years ago

bfaulk96 commented 2 years ago

When running this plugin with serverless v3, the following error shows:

Error: At least one of the plugins defines a validation schema that is invalid. Try disabling plugins one by one to identify the problematic plugin and report it to the plugin maintainers.

I don't know what level of effort this involves or what exactly SLS 3 doesn't like, just wanted to post here so it could be tracked.

Env info: Environment: darwin, node 16.10.0, framework 3.0.1 (local), plugin 6.0.0, SDK 4.3.0

shopsideau commented 2 years ago

Try upgrading to the newly released v1.0.0: https://github.com/juanjoDiaz/serverless-middleware/releases/tag/v1.0.0

juanjoDiaz commented 2 years ago

And I just released v2.0.0 to solve a problem with the schema and how the plugin is configured.

bfaulk96 commented 2 years ago

You're awesome, thank you!