-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Data Modeling
When editing to an invalid or duplicate collection name let's show an error state with an `errorMessage` in the text-input: https://www.mongodb.design/component/text-input/live-example . See the error handling section of the tech design for more details: https://docs.google.com/document/d/15Dn5FB3POEj9sYQrYIUajZySqFzlPfpcgjkPhzFqSFg/edit?tab=t.0#bookmark=id.gtbx54ysqe4o
Be sure to update and related relationships when renaming and remove any when removing the collection
Edit events:
z.object(
{ type: z.literal('RenameCollection'), from: z.string(), to: z.string(), }),
z.object(
)