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

Improve getPageBySlug TRPC procedure #963

Open
thibaultleouay opened this issue Jul 25, 2024 · 1 comment
Open

Improve getPageBySlug TRPC procedure #963

thibaultleouay opened this issue Jul 25, 2024 · 1 comment

Comments

@thibaultleouay
Copy link
Member

thibaultleouay commented Jul 25, 2024

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
Copy link

@thibaultleouay the file provided is NOT available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants