JetBrains / rider-efcore

Entity Framework Core UI plugin for JetBrains Rider
https://plugins.jetbrains.com/plugin/18147-entity-framework-core-ui
MIT License
180 stars 14 forks source link

Scaffold: Quality of life improvements for the Scaffold feature #175

Closed tcortega closed 1 year ago

tcortega commented 1 year ago

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.

tcortega commented 1 year ago

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.

tcortega commented 1 year ago

LGTM, thanks!

My pleasure! Thanks for the plugin :D