Re: [DISCUSS] Injecting RealmContext

2025-06-05 Thread Dmitri Bourlatchkov
An example "skew" in current code: IcebergCatalogAdapter gets RealmContext injected as a field, but also as a method parameters in createNamespace(). On Thu, Jun 5, 2025 at 8:35 PM Dmitri Bourlatchkov wrote: > Hi All, > > Recently a few runtime issues related to the resolution of RealmContex got

[DISCUSS] Injecting RealmContext

2025-06-05 Thread Dmitri Bourlatchkov
Hi All, Recently a few runtime issues related to the resolution of RealmContex got fixed (mostly by Yun's PRs). These fixes center around the idea of passing RealmContext as a parameter across various method calls. That approach is effective, however, I tend to think it goes against the grain of