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

consider package separation #4

Closed
0xOlias opened this issue Oct 3, 2022 · 0 comments
Closed

consider package separation #4

0xOlias opened this issue Oct 3, 2022 · 0 comments

Comments

@0xOlias
Copy link
Collaborator

0xOlias commented Oct 3, 2022

it might make sense to move graphql and sqlite to separate packages. these packages could be imported and "plugged in" to the @ponder/core package that contains the core indexing code (and probably also the CLI and dev server?).

this would make it easier to write tests against the indexer.

also, separating out the graphql bits as a plugin would make it easier to allow users to customize the Express server that backs the GraphQL API (add authn, logging, etc).

likewise on the database side. i'm sure many users will prefer to use postgres for GP-like experience.

@0xOlias 0xOlias closed this as completed Nov 2, 2022
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