Join Slack
Powered by
can i write the data_model files in *.js*/*ts inst...
# orm-help
s
stephan
04/21/2020, 1:51 PM
can i write the data_model files in *.js*/*ts instead of *.prisma ?
r
Ryan
04/21/2020, 2:07 PM
Hey
@stephan
👋 Currently you can only use the
schema.prisma
file to write your models. Also could you elaborate more on
data_model
inheritance?
s
stephan
04/21/2020, 2:08 PM
i would like to create a base class inherit from it and not re-write all the fields each and every time in each model
r
Ryan
04/21/2020, 2:09 PM
That is currently not supported in Prisma. Could you pls create a feature request
here
so we can look more into this?
4
Views
Open in Slack
Previous
Next