I am wondering if the function Id (as well as database Id and collection Id) needs to be a build-time configuration parameter, or it can be found out run-time? What is the best approach?
It's typically build-time. However, you can use a remote config service or a public collection to serve that info
Thanks @Steven, I was thinking similarly, namely to deploy a cloud function that returns the Ids, but nevertheless, the project Id and that function id shall be 'hard-coded'.
i don't think i'd use an Appwrite function for this if it's the same value for everyone.
Regardless of whatever approach you use. there will be something hardcoded in the app
Agree, I was wondering if such an approach would ease new deployments. Thanks!
Recommended threads
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...
- 500 simultaneous OAuth logins from the s...
Hi, I'd like to ask about rate limiting around Google OAuth login on Appwrite Cloud. **OVERVIEW** Service type: A PWA (web app) for members of a university clu...
- Suspicious access pattern detected when ...
Hello, I am having trouble restoring my project. In the past it worked with no problems, but today I get an error "Suspicious access pattern detected". How can ...