Custom schema names aren't respected
Opened this issue · 0 comments
mdiep commented
PersistDB doesn't always respect it if you specify a custom name for the schema:
struct Foo {
var id: Int
}
extension Foo: PersistDB.Model {
static let schema = Schema<Foo>(
Foo.init ~ "Bar" // schema is named "Bar" here
\.id ~ "id"
)
}
Specifically seems to be a problem with queries.