Nick Dunets
Nick Dunets
Short living dependency can't be garbage collected when depends on long living source, much like in classic events. Created a pull request with a test and suggested fix.
There's a memory leak if source property sits on a long living object while target is on a short living object. Simple fix is to wrap target properties in WeakReference
Partial substitute could be created in a type-safe manner: `ForPartsOf(Expression constructorExpression)` Constructor parsed to determine constructor method and arguments. Before: `Substitute.ForPartsOf(ctorArg1, ctorArg2);` After: `Substitute.ForPartsOf(() => new MyClass(ctorArg1, ctorArg2));` Benefits: static...
Repro: ``` module InlineTest = let private innerFunc x = x + 1 let inline inlineFunc x = (innerFunc x) + 1 [] let main _argv = InlineTest.inlineFunc 7 |>...
### Description (MS SQL SERVER) I have many tables with TIMESTAMP columns, computed columns, columns with default values. Most of the tables have auto-incremented (identity) primary key. I expect that...
### Description I'm looking for a way to add Optimistic Concurrency Control in SQLProvider, based on TIMESTAMP columns (MSSQL). Similar to how it is done in Entity Framework. Is there...
As per title, is it possible to explicitly persist and restore IGrainObserver using a custom storage / bypassing Orleans storage interfaces? All I was able to find is a closed...
### Description Given a simple generic type hierarchy, where `Base` type is parameterized with its `Inheritor` type, it is possible to construct and use a value of `Inheritor` , but...
### Description It's claimed in Fable 4.18.0 release notes that static interfaces are now supported however my code still fails to compile to JS. ### Repro code It's simplified version...
This is how `FunctionComponent.Of` caches passed function: ``` // Cache the render function to prevent recreating the component every time when FunctionComponent.Of // is called inside another function (including generic...