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
Replace Options facade with ResilientFunctions Settings (#12)
* Replace Options facade with ResilientFunctions Settings
Options was a 1:1 mirror of ResilientFunctions' Settings (with dead,
never-called Merge methods), so every Settings API change forced a
parallel Options edit. Drop it and use Settings directly.
- Delete Cleipnir/Options.cs
- FlowsContainer/FlowsModule: accept and store Settings; WithOptions
now takes Settings; pass it straight to FunctionsRegistry
- FlowOptions.Merge now takes Settings
- Tests and samples: construct Settings instead of Options
- README: fix InitialEffect example to use EffectId (0.ToEffectId())
Settings' internal properties are already visible to the Cleipnir and
Cleipnir.Tests assemblies via InternalsVisibleTo in the submodule.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Make FlowsContainer settings parameter optional
Default the settings parameter to null (falling back to new Settings()),
so callers that don't customize settings can omit the argument entirely.
Drop the now-redundant new Settings() at those call sites.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments