Eunovo / superbackend

Create your database and service layer from GraphQL types
MIT License
4 stars 0 forks source link

Mongodb support #3

Closed Eunovo closed 3 years ago

Eunovo commented 3 years ago

@mikkybang I've done a couple of things here and they should be self-explanatory. Worthy of note is the way I've handled validation errors from MongoDB. I have a custom errors and I set the error messages myself. Take a look. All my tests are passing but we don't have a pipeline on this repo yet. Let's run our tests locally for now.