dineug / vuerd-vscode

ERD Editor vscode extension
https://marketplace.visualstudio.com/items?itemName=dineug.vuerd-vscode
MIT License
115 stars 14 forks source link

Generated JSON File #88

Open smcguinness opened 4 years ago

smcguinness commented 4 years ago

I saw this closed item https://github.com/vuerd/vuerd-vscode/issues/5 and I wanted to raise it again as I think there can be some really great value if the JSON could be generated from various sources so that it could be added to existing projects and not just for getting started or having to start from scratch.

While looking through the source I was looking for where the JSON was being generated but I didn't see it. I'm somewhat assuming it is in the vuerd.min.js file.

It feels like a great place to start would be to work with popular ORMs or migration tools and work to map that to the JSON generator. It might make sense to separate the editor UI from the data portion so that the editor settings. Effectively this could become a lockfile for an ERD.

dineug commented 4 years ago

For real-time simultaneous We have a separate engine. It's easy to add APIs.

vuerd_real-time-simultaneous-editing_flow

I'm working on a SQL DDL parser. To deal with all dialects

I have a plan to add sql ddl import API, so I think I need to think about whether I need json.