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

Perf: Improving async/await usages #561

Merged
merged 37 commits into from
Jun 15, 2024

Conversation

henriqueholtz
Copy link
Member

@henriqueholtz henriqueholtz commented Jun 13, 2024

The changes are made based on .NET AsyncGuidance.

  • async/await improvements
  • Got rid a lot of synchronous flows
  • Included some new unit tests
  • Adding a postman collection to easily test the new version (that needs some manual steps for now, and have a lot of things to improve. Maybe soon can be a github action). Additional informations on README
  • Fixing a bug when searching something in the home page (is already in the postman collection. Which means run the collection before the merge will fail the request, after the merge all will be passing)
    image

…ce, ILgpdService, IUserService) and its endpoints
… Get<TKey>(Expression<Func<TEntity, TKey>> order, int page, int itemsPerPage);")
…g "IUserService.ConfirmHashCodePassword" to async)
… and "GetRequestersList" to async including its usages
…assword" and "ChangeUserPassword" as async and its usages
…sync" directly without getting the list and then FirstOrDefault
@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

…d the following error : "comparisonType: InvariantCultureIgnoreCase))' could not be translated. Additional information: Translation of method 'string.Contains' failed"
Copy link

sonarcloud bot commented Jun 15, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
10.5% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@AppVeyorBot
Copy link

@henriqueholtz henriqueholtz changed the title [WIP] Perf: Improving async/await usages Perf: Improving async/await usages Jun 15, 2024
@henriqueholtz henriqueholtz marked this pull request as ready for review June 15, 2024 12:55
@raffacabofrio raffacabofrio merged commit 24ca929 into SharebookBR:develop Jun 15, 2024
5 of 6 checks passed
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.

3 participants