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
Switched resolver and execution logic to voption (#614)
* Switched to `voption` for resolver and execution logic
* Refactored codebase to use F# `voption` (value option) instead of option for improved performance and clarity, especially in resolver and execution logic.
* Replaced `Option` functions with `ValueOption` equivalents, added `vtryPick` for arrays and extended `vtryFind` for lists.
* Updated pattern matching and function signatures to use `ValueSome`/`ValueNone`.
* Changed resolver result types to use `IObservable<_> voption`.
* Improved error handling, string formatting, and added `objectOptionCast`/`toValueOption` helpers in `Reflection.fs`.
* Updated code comments and XML docs.
* Ensured backward compatibility and better nullability handling.
* Moved collection/option helpers to a new module
* Refactored and reorganized collection and option helpers from `Extensions.fs` and `ObjAndStructConversions.fs` into `Helpers/CollectionExtensions.fs`.
* Moved `kvp`, `kvpObj`, and `IDictionary` extension methods to the new file.
* Removed redundant implementations from the original files.
* Updated usages to reference the new module and clarified documentation comments.
* Ensured helpers are internal or auto-opened for seamless usage.
* Fix boxed ValueNone handling in toValueOption
Co-authored-by: xperiandri <2365592+xperiandri@users.noreply.github.com>
* Guard toValueOption against null FullName
Co-authored-by: xperiandri <2365592+xperiandri@users.noreply.github.com>
* Handle missing FullName in toValueOption
Co-authored-by: xperiandri <2365592+xperiandri@users.noreply.github.com>
* Tighten option type detection in toValueOption
Co-authored-by: xperiandri <2365592+xperiandri@users.noreply.github.com>
* fixup! Fix boxed ValueNone handling in toValueOption
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: xperiandri <2365592+xperiandri@users.noreply.github.com>
0 commit comments