Skip to content
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

Add a Macro to create tables from Swift Source? #22

Open
helje5 opened this issue Jun 10, 2023 · 0 comments
Open

Add a Macro to create tables from Swift Source? #22

helje5 opened this issue Jun 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@helje5
Copy link
Member

helje5 commented Jun 10, 2023

Instead of basing the thing of a SQLite schema, with the new Macro feature in Swift 5.9 we could also generate the metadata required from the Swift structure itself.
It probably wouldn't have much affect on the surrounding API, though maybe a Macro can't see related entities?
Also the "Database" main structure wouldn't be generated? But there could be API for that.

@helje5 helje5 added the enhancement New feature or request label Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant