HarryVerhoef / currycompare

2 stars 0 forks source link

Improve type safety on geospatial queries #36

Open HarryVerhoef opened 5 months ago

HarryVerhoef commented 5 months ago

As a CurryCompare developer I would like to improve the type safety of any geospatial queries, such as finding curry houses within a 5 mile radius, so that I can be sure that my raw and unsafe query is that little bit more secure.

HarryVerhoef commented 5 months ago

Link for this with prisma: https://www.prisma.io/docs/orm/prisma-client/queries/raw-database-access/custom-and-type-safe-queries#geographic-data-support-in-prisma

HarryVerhoef commented 2 months ago

Investigate if we can split the model so that geospatial queries don't lose type safety