Closed jgoux closed 6 months ago
[image.png](https://uploads.linear.app/829dfb09-cf0d-4576-95be-cdb6a6e066dd/86cc86b5-8498-48d3-add1-c4f2fe32cbf3/835b72b7-063b-4e2e-8f06-50ff203343e4)
It was ported 1:1 from the old repo and there is a lot of needless logic in it.
Fixes S-2090 and S-2028
In this PR:
projectConfig
part which was copy-pasted from our other repo. It's now more aligned with how we handle the other configs.userModels
fromDatabaseClient
toAdapter
, it shouldn't be a concern of our database abstraction.seedConfig
for a particularadapter
. I used this ability to parse theprisma.schema
and reflect prisma's model and field names into ourseedConfig.alias.override
config.