I would actually be curious to hear your perspective on the "best way" that isn't typechecking. I literally cannot comprehend why someone would write such a thing
I readily admit that I am biased in that I believe that having a computer check that every reference to every relationship does what it promises, all the time
I readily admit that I am biased in that I believe that having a computer check that every reference to every relationship does what it promises, all the time