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

Spanify DynamicQueryable #485

Merged

Conversation

Daniel-Svensson
Copy link
Member

@Daniel-Svensson Daniel-Svensson commented Jan 25, 2024

This fixes the current analyser suggestions/warnings when building AspNetCore hosting about several places in query deserialisation where span's should be used instead of substring.

Performance and allocations might be better, but the main driver is to remove build output when building the AspNetCore hosting project.

Apart from that it also changes naming of private fields to better match the rest of the code bases and uses "C#" names (such as char instead of System.Char) and some usage of pattern matching (in their own commits)

* use object.ReferenceEquals to be explicit about intent
* rename token variable
* set capacity in CreateKeywords
@Daniel-Svensson Daniel-Svensson marked this pull request as ready for review January 28, 2024 21:47
@Daniel-Svensson Daniel-Svensson changed the title Spanify dynamicqueryable Spanify DynamicQueryable Jan 29, 2024
Copy link

sonarqubecloud bot commented Feb 8, 2024

@Daniel-Svensson Daniel-Svensson merged commit d9710a1 into OpenRIAServices:main Feb 8, 2024
6 checks passed
@Daniel-Svensson Daniel-Svensson deleted the spanify_dynamicqueryable branch February 8, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant