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

Add support for FX pools #616

Closed
wants to merge 15 commits into from
Closed

Add support for FX pools #616

wants to merge 15 commits into from

Conversation

gmbronco
Copy link
Contributor

@gmbronco gmbronco commented Dec 21, 2023

This pull request adds:

  • support for FX pools by adding a parser for the subgraph data.
    In the mapper I'm extracting the structure we had in the pool-creator-service and splitting it into two parts:

    1. mapping data from subgraph to DB schema
    2. building prisma create object with all the nested tables.
      This helps with testing and adding updates, or upserts will be easier, since we have the clean data object.
  • I changed foreign keys constrains related to pools to allow for deleting a pool with all associated records.

  • added fishery for setting up object factories in tests

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

Successfully merging this pull request may close these issues.

2 participants