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

pass loader as context? #52

Open
acro5piano opened this issue Aug 29, 2020 · 0 comments
Open

pass loader as context? #52

acro5piano opened this issue Aug 29, 2020 · 0 comments

Comments

@acro5piano
Copy link
Owner

loader cannot be reuse, for multiple queries.
so we have to do:

  • create a new loader in each request
  • or, generate and store a new loader in schema (src/schema/Schema.ts) to decouple http service and schema service.
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