Skip to content

Develop#85

Merged
varndellwagglebee merged 28 commits intomainfrom
develop
Aug 5, 2025
Merged

Develop#85
varndellwagglebee merged 28 commits intomainfrom
develop

Conversation

@varndellwagglebee
Copy link
Copy Markdown
Contributor

Description

Updated workflows and version strategy

github-actions Bot and others added 24 commits March 28, 2025 11:47
* Add Support for IEnumerable Yield (#62)
  * Added new YieldStateMachineBuilder to handle IEnumerable
  * Refactored lowering into subclasses
  * Refactored StateMachineContext
* Initial document and tests for enumerable For, Foreach, While


---------

Co-authored-by: Matt Edwards <matthew.edwards@wagglebee.net>
MS has a bug with TryFault and preferInterpretation, so switched to tracking returns and using a Try/Finally
- New Inject<T>() Expression to help with DI
- New ConfigurationValue<T>() Expression to help with getting Config values
- New Compile extension to help support DI and Configuration

---------

Co-authored-by: Matt Edwards <matthew.edwards@wagglebee.net>
* Fix issue with using and double variable resolver
* Introduces a new "lab" project for experimenting with expressions.

Adds a FetchExpression for making HTTP requests within expression trees,
leveraging IHttpClientFactory for named client support and header/content
customization.

Includes JsonExpression and JsonPathExpression for deserializing JSON
data into specified types or extracting data using JSON Path, integrating
with JsonSerializerOptions from the service provider.

* Adds expression extensions for data manipulation

Introduces `Map` and `Reduce` expressions for transforming collections within expression trees, enabling advanced data manipulation.

Add extension methods to `FetchExpression` to simplify reading response content as JSON, text, bytes, or stream, enhancing web request processing capabilities.

---------

Co-authored-by: Matt Edwards <matthew.edwards@wagglebee.net>
Modifies the expression compilation process to directly return the compiled result, removing the unnecessary wrapping of the expression in a `Func<>`.

This enhancement supports all delegates and prevents unnecessary casting or wrapping.
Comment thread .github/workflows/create-release.yml Fixed
Comment thread .github/workflows/create-release.yml Fixed
Comment thread .github/workflows/format.yml Fixed
Comment thread .github/workflows/issue-branch.yml Fixed
Comment thread .github/workflows/test.yml Fixed
@varndellwagglebee varndellwagglebee self-assigned this Aug 5, 2025
@varndellwagglebee
Copy link
Copy Markdown
Contributor Author

had to run test separately as I updated the code.

@varndellwagglebee varndellwagglebee merged commit 424ac7c into main Aug 5, 2025
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants