attempting to do:
make SettingsInterface for the prisma.settings.findMany() return data object
error:
proposed approach:
move interface to be the object once it's met by traversing the object endpoint API to bring then object to have same endpoints
// the data is: mySettings.data.data.userSettings
(userSettings being the graphQL resolver function name and data being the data from Prisma promise within that resolver)
if a data endpoint is added to the interface it probably needs an object { data } to even work. sounds like tailchasing🐩
attempting to do: make SettingsInterface for the prisma.settings.findMany() return data object
error:
![Screen Shot 2023-07-22 at 11 39 43 PM](https://github.com/frankcollins3/Next-Water-App/assets/73137934/a5045299-a8d9-404d-b39e-1010240e2933)
proposed approach: move interface to be the object once it's met by traversing the object endpoint API to bring then object to have same endpoints
// the data is: mySettings.data.data.userSettings (userSettings being the graphQL resolver function name and data being the data from Prisma promise within that resolver) if a data endpoint is added to the interface it probably needs an object { data } to even work. sounds like tailchasing🐩