CatGuardian

Results 20 comments of CatGuardian

I was just having a similar thought. If you are going to to do this then please add a 'statusCode' parameter to the error objects. And then assign the HTTP...

Thank you for the response. Yes that makes sense and clears things up for me. The thing is, is that I am trying to have my database layer in its...

Awesome, thanks. The only thing I wasn't sure of is that in the beginning of that save method, validation is performed when there are no changes object specified. And then...

Awesome. That is good insight that you have set up Model methods to be concerned with many objects where as the Instance methods concern themselves with object.

I tested this out last night on my code where I discovered the bug and this fix did it. Can probably close this issue.

Cool. I'm glad you think so. It isn't anything I need right now. I was just doing some thinking ahead for my current project and I found use cases where...

Thank you for your detailed answer. And yes a solution where I could import it once and await on the connect once and then export the singleton would be fantastic!...

Hi Benjamin, Wow that was a huge response. First thanks for the time it took to put all that together. I think your 'memoize' solution would work. I hadn't considered...

Also I have a question. How does Iridium know which properties of my class it should save to the database? For example: ``` interface HouseDocument { _id?: string; name: string;...

Hi Benjamin, That is awesome that you went ahead and did this. Thank you a bunch! Here are the things I want to do but I don't have time to...