HI, I am evaluation prisma for a project. So I hop...
# orm-help
m
HI, I am evaluation prisma for a project. So I hope this question makes sense. When I have a model , is there a 'generic way' or best pratice how to extent a record by some custom fields at runtime. In our case one customer needs to add a field of type string to the user model and while another needs to add a field of type json. While querung those custom fields should always be return based on the same key / id. Is the middleware function the best approach ? So data can also be store in an extension table kind of concept. We call this customization. The customer can add new fields at runtime in a declarative way to the screen ( Frontend uses Angular ) which finally need to be persisted etc as well.