Benjamin Pannell
Benjamin Pannell
Hi @CatGuardian, you seem to have exactly understood the idea - all your pseudocode is spot on and the use cases you're describing align with what I'm expecting. The only...
Hi @CatGuardian, I've just pushed out `v8.0.0-alpha.13` which includes an implementation of the approach we discussed (as well as a bunch of other refactorings and improvements which have been long...
No rush, there's still a bunch more stuff I want to address before 8.x gets released as a `beta` or `stable` release anyway. As for the behaviour of `TDocument`, that...
So the TL;DR is that you weren't really doing things incorrectly before (since there wasn't a well defined correct/incorrect way to do things) but with the latest version the approach...
Perfect :+1:
Thanks @Kaffiend - the aggregation pipeline is certainly a very powerful tool and well suited to these types of complex projection. Additionally, if you simply want to provide a basic...
Hi @mas-dude, you should ideally be holding open a connection for the duration of your application's life cycle since the underlying MongoDB driver manages connection reuse and pooling automatically. With...
I suspect it's because your `Interfaces.Storage` doesn't inherit from `Iridium.Core`, I'd imagine that your code would actually run correctly in other words, its just the typescript compiler which is unhappy.
I guess it depends on what you're testing, if you don't rely on the ability to save to the database, then you should easily be able to do the following:...
Hi @mas-dude, I suspect the issue is that you're not calling [`Model.ensureIndexes`](http://sierrasoftworks.github.io/Iridium/classes/model.html#ensureindexes) at any point. There's a particularly good set of examples in #80 and my answer [there](https://github.com/SierraSoftworks/Iridium/issues/80#issuecomment-310310898). I still...