-
Notifications
You must be signed in to change notification settings - Fork 3
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
Project title as unique ID #2
Comments
@trashmai 我們現在還是用 project title 來當 uniqueID 嗎? |
I will fix it today. |
|
We need to check all logic about Project. |
Hi both,
makes sense? |
請問 projectId 對應到前端是「計畫編號」嗎?
如果是的話也不能用 projectId,任何能修改的東西不應該當作 id 使用。
我剛剛去掃了目前的專案後發現一堆用 projectTitle 在當作參考的邏輯,整個處理完可能需要花掉一天,包含處理資料庫內現有的資料。 就依照 @cjk-halodule 說的將現有 |
3.1.3 的欄位就應該用新創的 adminProjectId 了 - 這個也得在前端的程式中更新 |
同意以上做法 @diabloevagto 前端應該也有不少地方要同步調整, 再幫忙留意一下 |
是不是該考慮趁這個機會把所有 api 都重新定義過?目前 api 定義完全沒考慮前端跟 wf |
This reverts commit 3354b21.
This has proceeded to nearly done. Reopen only when an issue emerges. |
camera-trap-api/common/models/project-metadata.json
Line 19 in 03b81cc
Given that the value is unpredictable and the usage of the value as ID is uncertain, suggest drop the property.
The text was updated successfully, but these errors were encountered: