[FEATURE]: Improve template configuration#76
Merged
Conversation
[skip ci]
…ate-configuration' into feature/75-feature-improve-template-configuration
MattEdwardsWaggleBee
added a commit
that referenced
this pull request
May 1, 2025
* [FEATURE]: Improve template configuration (#76) * Update nugets * Update documentation * Remove orphaned usings and adjust default buffer size --------- Co-authored-by: Brenton Farmer <brent.farmer@wagglebee.net>
MattEdwardsWaggleBee
added a commit
that referenced
this pull request
May 9, 2025
* [FEATURE]: Improve template configuration (#76) * Update nugets * Update documentation * Remove orphaned usings and adjust default buffer size --------- Co-authored-by: Brenton Farmer <brent.farmer@wagglebee.net> * Previous version was 'v3.0.2'. Version now 'v3.1.0'. * [FEATURE]: Add XS Token Expression Provider (#79) * Adds XS expression provider - Adds a new expression provider leveraging Hyperbee.XS for template processing. - This allows for more complex and flexible template expressions. - Also includes tests and benchmarks to validate and measure performance. * Refactors XS expression compilation for flexibility Improves the XS expression compilation process by introducing a TypeResolver and allowing for more flexible expression definitions. The changes include: - Injecting a TypeResolver into the XsTokenExpressionProvider for better type management. - Modifying the MemberDictionaryParseExtension to accept a name, allowing the `vars` keyword to be configurable. - Updating the compilation logic to use the TypeResolver and configurable `vars` name when parsing expressions. Updates the XS token expression compilation process for improved flexibility and extensibility. - Introduces a `CompileLambda` delegate for customizing lambda compilation. - Implements a `MemberTypeResolver` to handle member access within expressions, supporting properties, generic methods and indexers on member dictionaries. - Uses `XsParser` directly for parsing XS expressions. - Removes dependency on FastExpressionCompiler. - Updates Hyperbee.XS package version. This change also adapts a template parser test to use the new 'inject' and 'config' extensions. The test now retrieves a registered service and a configuration value within the template, demonstrating the functionality of these extensions. Updates the Hyperbee.XS dependency to version 1.3.3 across the templating provider, benchmark project, and tests. --------- Co-authored-by: Matt Edwards <matthew.edwards@wagglebee.net> * Previous version was 'v3.1.1'. Version now 'v3.2.0'. --------- Co-authored-by: annette.findley <annette.varndell@wagglebee.net> Co-authored-by: Brenton Farmer <brent.farmer@wagglebee.net> Co-authored-by: MattEdwardsWaggleBee <MattEdwardsWaggleBee@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original issue description
Tell us about your idea
Simplify rendering configuration and improve efficientcy.
Anything else?
No response
closes #75