This PR tackles some issues from #172 by storing tables in the project settings and adding table validations. It also prevents empty row errors in the scaffold command.
Had to use tablesList.value = listOf() in ScaffoldDbContextDataContext to reset the list due to the UI state reloading often. Tried tablesList.removeAll(), but it stopped the tab from opening.
Have been using myself on a project I have, making multiple scaffolds and tested it quite a lot, couldn't find any issues related to the new functionality.
This PR tackles some issues from #172 by storing tables in the project settings and adding table validations. It also prevents empty row errors in the scaffold command.
Had to use
tablesList.value = listOf()
inScaffoldDbContextDataContext
to reset the list due to the UI state reloading often. TriedtablesList.removeAll()
, but it stopped the tab from opening.