-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
cloud code name cannot contain dot (.) #5138
Comments
I don't think you're intended to be able to. Keep in mind that cloud code functions are hit via REST API with something like So, the |
Working as expected. Cloud functions names should not include such characters. We should be probably more explicit. |
This wasn't the case in 2.8.4, could it be added to the list of breaking changes for 3.0.0? |
Would you be willing to open a pull request to address the documentation? |
This should be added to the breaking changes. Dot notation was very useful to specify modules names for example. For chance i found this post otherwise I had to spent a lot of time. At least it should be shown an error like "no special characters allowed in cloud function names". |
@acinader @Simone-cogno was this actually resolved? Seems like there is no clear indication in the docs. Also, would it be possible to add support for either If so, please reopen and I'll try to submit a PR |
Thanks for picking this up. Since this is over 2 years old and we have a new template for this, if you want to propose this enhancement and work on a PR, please open a new issue and reference this issue. |
Before opening the issue please ensure that you have:
Issue Description
naming cloud function including dot '.' produce error
Steps to reproduce
adding this line in cloud, main.js
Expected Results
success without error
Actual Outcome
Environment Setup
Server
Database
Logs/Trace
The text was updated successfully, but these errors were encountered: