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 caching queries with autodiscovered types #3184

Merged
merged 24 commits into from
Oct 27, 2022
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
c59e60e
Support caching queries with autodiscovered types
fredericDelaporte Oct 2, 2022
94aa1de
Fix a typo
fredericDelaporte Oct 16, 2022
0bf7921
Generate async files
github-actions[bot] Oct 16, 2022
261ac75
Add the aliases directly into cached data
fredericDelaporte Oct 16, 2022
3f28ad9
Generate async files
github-actions[bot] Oct 16, 2022
8228b04
Minimize the change
fredericDelaporte Oct 16, 2022
81c1b18
Generate async files
github-actions[bot] Oct 16, 2022
b38af02
Fix whitespaces
fredericDelaporte Oct 16, 2022
b7bea83
Fix some tests
fredericDelaporte Oct 16, 2022
300ccee
Generate async files
github-actions[bot] Oct 16, 2022
c355c34
Simplify code
fredericDelaporte Oct 18, 2022
ec0c5a0
Implement breaking change minimizing suggestions
fredericDelaporte Oct 23, 2022
fda5a75
Generate async files
github-actions[bot] Oct 23, 2022
ee43157
Fix some more metadata reserved slots changes
fredericDelaporte Oct 23, 2022
594d694
Generate async files
github-actions[bot] Oct 23, 2022
b0a2fd2
Fix a regression fromminimizing breaking change
fredericDelaporte Oct 23, 2022
8bbd84e
Add a JsonSerializer test and fix it
fredericDelaporte Oct 23, 2022
8232bcf
Simplify metadata extraction
fredericDelaporte Oct 23, 2022
c07c6af
Add test for multi-columns cached queries
fredericDelaporte Oct 23, 2022
4b1d56b
Fix a typo
fredericDelaporte Oct 23, 2022
ae9c660
Apply code suggestions
fredericDelaporte Oct 24, 2022
72ee45c
Merge branch 'master' into GH3169
fredericDelaporte Oct 25, 2022
50078f0
Simplify code. Fix comment. Cleanup whitespaces
hazzik Oct 27, 2022
b165a88
Merge branch 'master' into GH3169
hazzik Oct 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Simplify code
Co-authored-by: Roman Artiukhin <bahusdrive@gmail.com>
fredericDelaporte and bahusoid authored Oct 18, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit c355c3451987624ef7a7f76d15f855605e24b00b
2 changes: 1 addition & 1 deletion src/NHibernate/Cache/StandardQueryCache.cs
Original file line number Diff line number Diff line change
@@ -222,7 +222,7 @@ public bool[] PutMany(

private static string[] GetAutoDiscoveredAliases(QueryKey key)
{
return key.ResultTransformer?.AutoDiscoverTypes == true ? key.ResultTransformer.AutoDiscoveredAliases : null;
return key.ResultTransformer?.AutoDiscoveredAliases;
}

/// <inheritdoc />