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

Support for dynamic database (for multitenant setups) #27

Open
vhgn opened this issue Dec 24, 2024 · 0 comments
Open

Support for dynamic database (for multitenant setups) #27

vhgn opened this issue Dec 24, 2024 · 0 comments

Comments

@vhgn
Copy link

vhgn commented Dec 24, 2024

When I try to generate the server on the fly to use different database client per request I get the same error as in #16.
I suggest using an exported symbol as a key in the context for optional database instance to get queryBase for example.
I will fork it myself (for own project). Do you think you need the feature? I will make a pull request if it is needed in upstream.

vhgn pushed a commit to vhgn/drizzle-graphql that referenced this issue Dec 24, 2024
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

1 participant