Skip to content

Allow auto import of server services in server routes #66

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

Closed
larbish opened this issue Aug 22, 2022 — with Volta.net · 4 comments
Closed

Allow auto import of server services in server routes #66

larbish opened this issue Aug 22, 2022 — with Volta.net · 4 comments
Labels
enhancement New feature or request Stale

Comments

Copy link
Collaborator

larbish commented Aug 22, 2022

Currently server services need to be imported from virtual import #supabase/server.

Check documentation and code.

Could be a nice UX to allow auto import of those services.

@larbish larbish added the enhancement New feature or request label Aug 22, 2022 — with Volta.net
Copy link
Collaborator Author

larbish commented Aug 22, 2022

@pi0 @atinux

@pi0
Copy link
Contributor

pi0 commented Aug 22, 2022

Here is an example how to register auto import presets for nitro: https://stackblitz.com/edit/github-tuyddi?file=module%2Fruntime%2Futils.nitro.ts,module%2Fmodule.ts

(usage is verbose and not depending on hooks, since we are working on some refactors, this is probably safest to implement for nitro at current RC)

Copy link

github-actions bot commented May 6, 2025

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label May 6, 2025
Copy link

github-actions bot commented Jun 5, 2025

This issue was closed because it has been stalled for 30 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

2 participants