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:
mapping data from subgraph to DB schema
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
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:
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