openstatusHQ / openstatus

🏓 The open-source synthetic monitoring platform 🏓
https://openstatus.dev
GNU Affero General Public License v3.0
6k stars 378 forks source link

Improve getPageBySlug TRPC procedure #963

Open thibaultleouay opened 1 month ago

thibaultleouay commented 1 month ago

Description

We can easily group multiple query ( promise.all) remove the drizzle query interface and use the drizzle select interface

https://github.com/openstatusHQ/openstatus/blob/remove-barrel/packages/api/src/router/page.ts#L237

AdityaNik commented 1 week ago

@thibaultleouay the file provided is NOT available