-
Notifications
You must be signed in to change notification settings - Fork 11
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
Allow more flexibility in locating projects when using FunctionsController #56
Comments
Now that #83 is merged, I'm going to start taking a look at this issue (a pre-requisite for us to use the new library in our projects). I have these ideas in mind:
I'll spike out option 1. in advance of further suggestions and discussion. /cc @jongeorge1 @idg10 on the assumption you each have an interest in this |
So there's some things I found through spiking out the resolve-by-type that need considering:
In the process, a further option has presented itself, which I think will be more robust (until and unless the Functions SDK changes this): the built function includes a file called
|
I had wondered if we could get away with something as simple as just stepping up the directory tree until we got to a place where combining the current location with the path supplied to the functions controller resulted in a location that actually exists. Depending on your solution structure, you might need to further quality your function path. Would this approach work for your use case? |
At the moment functions are started by supplying a project name to the FunctionsController. This is resolved by assuming that all projects, including the executing test project, are contained in a folder called
Solutions
. We should look at a way of making this work without forcing people to adopt a specific folder structure for their solutions.The text was updated successfully, but these errors were encountered: