-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Add new method 'defineFunctionProperties' to 'ConfigSchemaHandler' #8462
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
Conversation
I tried testing this against Node.js v6, as requested in the PR template, but I was unable to, due to a problem that is also occuring in the master branch. I thought it would be better to report this here, because I don't know if this is expected. But since it's happening in master, I concluded it's not related to the changes in the PR. The problem happens when trying to
|
8366a3a
to
651d96d
Compare
Hi @luislhl and thanks for your PR. Support for node 6 has been dropped with serverless major v2. The template is not up to date, thanks for pointing this out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@luislhl thank you ! That looks very good. I've proposed just few documentation improvements.
Concerning info about Node.js v6 support, as @fredericbarthelet pointed it was an issue in a template. I've fixed it (it now lists Node.js v10 as expected)
docs/providers/aws/guide/plugins.md
Outdated
anotherProperty: { type: 'number' }, | ||
}, | ||
required: ['someProperty'], | ||
additionalProperties: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not put additionalProperties
(it's ineffective), same with type
(fact that it's listed in defineCustomProperties
example is a bug)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Should I take this opportunity and also remove them from defineCustomProperties
?
651d96d
to
15811e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @luislhl That looks great!
Closes: #8422