You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the program multiple times, each time it loads the .journal file (which seems to be created correctly) but discards the command field values in them, instead filling them with null. See terminal output:
As you can see all but the last record (which was inserted in current thread) is filled with null. All but last record was loaded from the .journal file at program startup.
The command itself looks about right:
typeThink(s: string,t: DateTime)=inherit Command<BaselineModel, DateTime>()memberthis.Content= s
memberthis.When= t
overrideCommand.Execute(model:BaselineModel):DateTime =letthought= model.Think(s, t)
Command.RaiseEvent(ThoughtSaved(thought))
thought.When
Did I hit a bug in memstate?
The text was updated successfully, but these errors were encountered:
I wonder if it is something to do with the multiple project / split-across-modules nature of the Baseline project that causes this bug? I do see that in the .journal file the module/namespace is registered, along with project name.
I have a repro for this. This F# project: https://github.com/srid/Baseline (dotnet run the
Baseline.CLI
project)When I run the program multiple times, each time it loads the .journal file (which seems to be created correctly) but discards the command field values in them, instead filling them with
null
. See terminal output:As you can see all but the last record (which was inserted in current thread) is filled with null. All but last record was loaded from the .journal file at program startup.
The command itself looks about right:
Did I hit a bug in memstate?
The text was updated successfully, but these errors were encountered: