Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support named parameters in where fragments #159

Merged

Conversation

elexisvenator
Copy link
Contributor

@elexisvenator elexisvenator commented Dec 20, 2024

Updated CustomizableWhereFragment to automatically handle named parameters being passed in (as either an anonymous object or a Dictionary<string, something>). This was missing from my last PR and meant that some places I expected named parameters to work didnt work.

Regarding testing, there seems to be no tests for these codegen fragments in Weasel, they all seem to be in Marten. I have updated the tests in JasperFx/marten#3604 but the marten PR will only pass if this PR is merged and referenced.

@jeremydmiller jeremydmiller merged commit 9a7e1bf into JasperFx:master Dec 20, 2024
0 of 4 checks passed
@elexisvenator elexisvenator deleted the named-params-where-fragment branch January 3, 2025 02:38
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.

2 participants