-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Dotnetcore local invoke support #4815
Comments
Thank you for the proposal @napalm684 👍 |
If this is still an issue I'd like to pick it up and start working on it? Let me know. |
@mikeweltejr |
Sure! So looking at this it seems when you create a new aws-csharp project it comes with sdk 1.0.4, running this locally would need to assume the user would have this version of the sdk on their local machine in order to run it, which might be a bold assumption (for instance I have v2.1.104 sdk). From my understanding that is a bit different from nodejs since with node it wouldn't matter which version you used to create you can still simply run node fileName.js and it will run it. Let me know if you have an acceptable path forward for this, in the meantime I'm going to look to see if there are other issues I could pick up. |
@mikeweltejr Imo, you wouldn't need the assumption since it would be hard to provide the same version corresponding to users environment in the new aws-csharp template. |
@horike37 yeah that would work, I wanted to ensure that was an acceptable resolution. So I will first ensure this works with the version I have, then test out other versions as well. I will add to the documentation when working to note that the sdk version in globals.json of their project needs to match their local environment sdk in order to invoke locally. Are there any sdk versions that serverless does NOT currently support for c#? Mainly the dotnetcore 2.x stuff? |
That's a good idea 👍
Ah I remember now, aws-csharp template has already updated for 2.x stuff on #4656, so it will be mainly in next Serverless version. |
@mikeweltejr do you have more details on the current implementation / status on this feature? |
Is there any update about this feature? |
This is a Feature Proposal
Local invoke not supported for dotnetcore
For bug reports:
For feature proposals:
sls invoke local -f should work as it does with other runtimes.
Similar or dependent issues:
Additional Data
1.26.1
Ubuntu 16.04
You can only invoke Node.js, Python & Java functions locally
The text was updated successfully, but these errors were encountered: