Closed olegbragin closed 2 years ago
@olegbragin you're looking for FluentKit - that is the package that contains all the DB logic and actual ORM stuff. Fluent is the package that glues FluentKit and Vapor together
Wow, thanks! @0xTim, will read the Package.swift better next time!
Fluent Package.swift contains a reference to Vapor. Is it really necessary? I'm currently implementing a simple app with multi-package structure. For instance, one of the packages works with PostgresQL db to make CRUD operations. I was hoping to do it with Fluent and corresponding Fluent drivers. But when I reference Fluent, SPM also resolves the whole package graph, including everything related to Vapor. And since I want to keep my packages rather clean from unnecessary dependencies, I wonder if it's possible to reference only Fluent without Vapor.