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

Refactor NetworkManager.requestFromID #1163

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Conversation

ankur22
Copy link
Collaborator

@ankur22 ankur22 commented Jan 18, 2024

What?

This refactor forces the caller of NetworkManager.requestFromID to check the bool value.

Why?

This makes it clearer that requestFromID could not find a request with the given id.

Checklist

  • I have performed a self-review of my code
  • I have added tests for my changes
  • I have commented on my code, particularly in hard-to-understand areas

Related PR(s)/Issue(s)

Updates: #577

This refactor forces the caller of NetworkManager.requestFromID to
check the bool value which makes it clearer that requestFromID could
not find a request with the given id.
Copy link
Member

@inancgumus inancgumus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

@ankur22 ankur22 changed the base branch from main to main-next January 19, 2024 14:21
@ankur22 ankur22 merged commit 7326d4b into main-next Jan 19, 2024
17 checks passed
@ankur22 ankur22 deleted the refactor/requestFromID branch January 19, 2024 14:22
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