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

Setting FunctionDirectory and FunctionName on context. Refactoring directory resolution #1472

Merged
merged 1 commit into from
May 1, 2017

Conversation

fabiocav
Copy link
Member

@fabiocav fabiocav commented May 1, 2017

Resolves #803

@@ -388,6 +389,8 @@ protected override void OnScriptFileChanged(object sender, FileSystemEventArgs e
var context = new Dictionary<string, object>()
{
{ "invocationId", invocationContext.ExecutionContext.InvocationId },
{ "functionDirectory", invocationContext.ExecutionContext.FunctionDirectory },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we shouldn't add a new 'executionContext' member here that includes all 3 properties. We can leave the invocationId as is for back compat, but going forward it'd be good to have all the properties in a single object I think.

@mathewc
Copy link
Member

mathewc commented May 1, 2017

One small suggestion, otherwise looks good :)

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

Successfully merging this pull request may close these issues.

3 participants