-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: updated azure search #54
Conversation
Test Run for PR #54 (107)Run Summary
Overall Result: ✔️ Pass
Result SetsCogworks.AzureSearch.UmbracoIoc.UnitTests.dll - 100%Full Results
Run MessagesInformational
Warning
Error
|
src/Cogworks.AzureSearch/Mappers/AzureSearchParametersMapper.cs
Outdated
Show resolved
Hide resolved
src/Cogworks.AzureSearch/Mappers/AzureSearchParametersMapper.cs
Outdated
Show resolved
Hide resolved
src/Cogworks.AzureSearch/Mappers/AzureSearchParametersMapper.cs
Outdated
Show resolved
Hide resolved
src/Cogworks.AzureSearch/Mappers/AzureSearchParametersMapper.cs
Outdated
Show resolved
Hide resolved
src/Cogworks.AzureSearch/Services/AzureIndexOperationService.cs
Outdated
Show resolved
Hide resolved
src/Cogworks.AzureSearch/Services/AzureIndexOperationService.cs
Outdated
Show resolved
Hide resolved
src/Cogworks.AzureSearch/Services/AzureIndexOperationService.cs
Outdated
Show resolved
Hide resolved
Size = azureSearchParameters.Take | ||
}; | ||
|
||
if (azureSearchParameters.Select.HasAny()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we do these HasAny() and foreach statements as LINQ instead?
Or maybe it won't be as readable? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it won't be readable. But we can try it 🤔 Can you serve some example how it would look like ?
Test Run for PR #54 (108)Run Summary
Overall Result: ✔️ Pass
Result SetsCogworks.AzureSearch.UmbracoIoc.UnitTests.dll - 100%Full Results
Run MessagesInformational
Warning
Error
|
Test Run for PR #54 (109)Run Summary
Overall Result: ✔️ Pass
Result SetsCogworks.AzureSearch.UmbracoIoc.UnitTests.dll - 100%Full Results
Run MessagesInformational
Warning
Error
|
refactor: names
Test Run for PR #54 (113)Run Summary
Overall Result: ✔️ Pass
Result SetsCogworks.AzureSearch.UmbracoIoc.UnitTests.dll - 100%Full Results
Run MessagesInformational
Warning
Error
|
Test Run for PR #54 (114)Run Summary
Overall Result: ✔️ Pass
Result SetsCogworks.AzureSearch.UmbracoIoc.UnitTests.dll - 100%Full Results
Run MessagesInformational
Warning
Error
|
Test Run for PR #54 (115)Run Summary
Overall Result: ✔️ Pass
Result SetsCogworks.AzureSearch.LightInject.UnitTests.dll - 100%Full Results
Run MessagesInformational
Warning
Error
|
We need to add some method documentation about expected results and exceptions. We can do it on separate PR. Will create issue for it. |
<file src="bin\Release\Cogworks.AzureSearch.LightInject.IocExtension.dll" target="lib/net48" /> | ||
<file src="bin\Release\Cogworks.AzureSearch.Umbraco.IocExtension.dll" target="lib/net48" /> | ||
</files> | ||
<metadata> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this indenting forced by you or code style?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was a bug, it should be lib/net472
but spacing should be 2, but on my local it always convert to 4 - also if I change this setting. Will try again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work here! We definitely need to find a way on maintaining it in the long term when changes like this occur.
Kudos for doing it. 🙌
Test Run for PR #54 (123)Run Summary
Overall Result: ✔️ Pass
Result SetsCogworks.AzureSearch.LightInject.UnitTests.dll - 100%Full Results
Run MessagesInformational
Warning
Error
|
What this PR does / why it's submitted / why we need it:
Updated Azure Search to newer SDK.
In meantime done some refactor:
Another PR with future refactor will be applied (renaming, etc).
Checklist:
Needed this
)develop
branch or appropriaterelease
branchFixes: ### ISSUE_OR_TRELLO_LINK ###