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

Fix GH-17 variables do not get expanded #18

Merged
merged 1 commit into from
Feb 12, 2018
Merged

Fix GH-17 variables do not get expanded #18

merged 1 commit into from
Feb 12, 2018

Conversation

shentonfreude
Copy link
Contributor

These point to the solution:

TL;DR: dschep wrote "Serverless changed it’s behavior a few releases
ago. That variable substitution is not called by the time plugin
constructors get called. Unless you actually need it then, just access
it in your lifecycle hooks, it’ should be resolved by then."

These point to the solution:

* https://forum.serverless.com/t/serverless-plugin-resolving-variable-references/2233/2
* https://github.com/serverless/serverless/pull/3911/files

TL;DR: dschep wrote "Serverless changed it’s behavior a few releases
ago. That variable substitution is not called by the time plugin
constructors get called. Unless you actually need it then, just access
it in your lifecycle hooks, it’ should be resolved by then."
@fernando-mc
Copy link
Owner

@shentonfreude Awesome job. I'm going to spend some time trying to look at this and a few other PRs for an upcoming release. Thanks for your work!

@fernando-mc fernando-mc merged commit caaae55 into fernando-mc:master Feb 12, 2018
@fernando-mc
Copy link
Owner

@shentonfreude tested this fix. Works well and should make it into the next release.

@fernando-mc
Copy link
Owner

Thanks again @shentonfreude. Great catch and thanks for the fix. Included in the most recent version - should be building and publishing now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants