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
{{ message }}
Repository navigation
Mutation of $env using cell paths doesn't seem to work #7110
I do not think the recent config refactoring is the root cause of this issue, taking $env.config.max_history_size = 20000 for example, the part of 20000 is an Int, but merge_env expects all configs to be Records, also, the evaluation phase is not handling Assign operator 100% correct. I will bring up this to discord for further discussion.
Activity
webbedspace commentedon Nov 16, 2022
Hold on, does any mutation via cell paths actually work?
webbedspace commentedon Nov 19, 2022
UPDATE: Nevermind, I figured it out, you mean with that new
mutdoohicky, right.Kangaxx-0 commentedon Nov 23, 2022
Seems like
max_history_sizeis an int which can not be converted toRecordwebbedspace commentedon Nov 23, 2022
Ignore the specifics of the example in the top post; the config structure changed recently so it's not necessarily still valid.
Kangaxx-0 commentedon Nov 27, 2022
I do not think the recent config refactoring is the root cause of this issue, taking
$env.config.max_history_size = 20000for example, the part of20000is anInt, butmerge_envexpects allconfigs to beRecords, also, the evaluation phase is not handlingAssignoperator 100% correct. I will bring up this to discord for further discussion.Allow `$env` and mutable records to be mutated by `=` (closes #7110) (#…
`$env.config` now always holds a record with only valid values (#7309)