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 mode in which the database is rendered as Swift statics #3

Open
helje5 opened this issue Aug 16, 2022 · 0 comments
Open

Add a mode in which the database is rendered as Swift statics #3

helje5 opened this issue Aug 16, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@helje5
Copy link
Member

helje5 commented Aug 16, 2022

Instead of shipping the database, the database itself could be generated as Swift code, like:

struct Person: Identifiable {
  let id : Int
  let name : String
}

let people : [ Person ] = [
  Person(id: 1, name: "Bourne"),
  Person(id: 2, name: "Jason")
]

That might be useful sometimes? 🤔

@helje5 helje5 added the enhancement New feature or request label Aug 16, 2022
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