Anyone ever worked with custom scalar types in pri...
# orm-help
t
Anyone ever worked with custom scalar types in prisma? I have the scalar defined but
prisma deploy
errors out because it doesn't see the scalar definition in the datamodel
d
Can you share an example of the datamodel? Maybe in the shape of a reproduction repository? 🙂
t
Copy code
scalar IP

type MyType {
  ip: IP!
}
d
This is not possible with Prisma at the moment as Prisma does not know how to store/resolve this custom scalar. I suggest that you create a feature request here: https://github.com/prisma/prisma/issues/new?template=feature_request.md 🙂