Mike Roth
Mike Roth
@SPARTAN563 I'm trying to do something similar, but not exactly the same because I'm not trying to validate the ID exists in another collection. I'm just trying to have multiple...
Thanks @SPARTAN563. Let me know what you find. From what I could tell digging through Iridium's source code, it seemed like it should work.
Any update here @SPARTAN563? If not we can just manually convert to ObjectID.
and the `toDB` transform would only get called during any insert/update?
But do document level transforms get called when doing something like `Model.update()`? Because my breakpoint in the `@Transform` isn't being hit unless an `instance.save()` function is called.
As a workaround, you can copy the Dockerfile in the repo to your project and add that flag. It takes a while to build, but it works. I'm guessing it...