Skip to content

Conversation

svozza
Copy link
Contributor

@svozza svozza commented Sep 10, 2025

Summary

This PR removes undefined from the resolve method's type signature in the Router class. This was a legacy of the initial implementation that no longer holds.

Changes

  • Updated the resolve method's type signature
  • Updated all tests that we're using optional chaining or the ?? operator due to the old signature

Issue number: closes #4462

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@svozza svozza added this to the Event Handler Beta (priority) milestone Sep 10, 2025
@svozza svozza self-assigned this Sep 10, 2025
@pull-request-size pull-request-size bot added the size/M PR between 30-99 LOC label Sep 10, 2025
@boring-cyborg boring-cyborg bot added event-handler This item relates to the Event Handler Utility tests PRs that add or change tests labels Sep 10, 2025
Copy link

@svozza svozza merged commit d36ef55 into main Sep 10, 2025
46 checks passed
@svozza svozza deleted the event-handler/resolve-no-undefined branch September 10, 2025 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
event-handler This item relates to the Event Handler Utility size/M PR between 30-99 LOC tests PRs that add or change tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maintenance: Remove undefined From REST API Resolve Method Type Signature
2 participants