stablekernel / aqueduct

Dart HTTP server framework for building REST APIs. Includes PostgreSQL ORM and OAuth2 provider.
https://aqueduct.io
BSD 2-Clause "Simplified" License
2.42k stars 280 forks source link

How to use ORM without http server #941

Open steeling opened 3 years ago

steeling commented 3 years ago

Hi, I'm wondering if it's possible to use the ORM, without the HTTP layer, and the implication with regards to connection pools and threading. Any advice here?

Have a gRPC server, so can't use the http layer.

jayjah commented 3 years ago

Well actually yo can, but you need the whole aqueduct framework as a dependency. But keep in mind, aqueduct depends on mirrors, the orm as well.