Skip to content

fix/43: GetToponymsByStreetcodeIdHandler.Handle() correctly returns fail result#45

Open
PenultimateBoss wants to merge 15 commits into
devfrom
fix/43/fix_get_toponyms_by_streetcode_id_handler
Open

fix/43: GetToponymsByStreetcodeIdHandler.Handle() correctly returns fail result#45
PenultimateBoss wants to merge 15 commits into
devfrom
fix/43/fix_get_toponyms_by_streetcode_id_handler

Conversation

@PenultimateBoss
Copy link
Copy Markdown
Contributor

GetToponymsByStreetcodeIdHandler.Handle() now returns fail result when GetAllAsync() method returns empty enumerable

Fixes #43

@PenultimateBoss PenultimateBoss self-assigned this May 11, 2026
…etToponymsByStreetcodeIdHandler.cs

Co-authored-by: snitochka <107924262+snitochka@users.noreply.github.com>
…etToponymsByStreetcodeIdHandler.cs

Co-authored-by: snitochka <107924262+snitochka@users.noreply.github.com>
@PenultimateBoss
Copy link
Copy Markdown
Contributor Author

PenultimateBoss commented May 11, 2026

Let me fix this later

@PenultimateBoss
Copy link
Copy Markdown
Contributor Author

If we call toponyms.AnyAsync() and also return toponyms, does it mean we will send db request twice?

@sonarqubecloud
Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@sonarqubecloud
Copy link
Copy Markdown

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.

Fix GetToponymsByStreetcodeIdHandler

4 participants