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

Is there a framework-agnostic API? #283

Open
viridia opened this issue Oct 30, 2022 · 1 comment
Open

Is there a framework-agnostic API? #283

viridia opened this issue Oct 30, 2022 · 1 comment

Comments

@viridia
Copy link

viridia commented Oct 30, 2022

I'm very interested in using grant, but I'm not using any of the frameworks (express, koa, etc.) listed in the docs - I'm using solid-start which is relatively new, and which uses file-based routing for defining API routes. I'm assuming I would have to roll my own wrappers which call grant - is there a way I can do this?

@simov
Copy link
Owner

simov commented Oct 30, 2022

You have to create your own handler. I have a framework-agnostic one, but as in Node.js framework agnostic #241

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