Skip to content

Conversation

svozza
Copy link
Contributor

@svozza svozza commented Sep 10, 2025

Summary

This PR reflects the change of type from HandlerOptions to RequestContext made in #4439 by updating class variables, JSDocs and the tests.

Changes

  • Update all unit tests that define handlers or middleware to use reqCtx instead of options as the name for any parameter of type RequestContext
  • Updated the type definitions reqCtx instead of options as the name for any parameter of type RequestContext
  • Updated the JSDocs and examples to reflect this change

Issue number: closes #4459


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/L PRs between 100-499 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
sdangol
sdangol previously approved these changes Sep 10, 2025
@svozza svozza force-pushed the event-hanlder-handleroprions-to-requestcontext branch from 650c1c9 to 081946b Compare September 10, 2025 14:23
Copy link

@dreamorosi dreamorosi merged commit 5b4ee1a into main Sep 10, 2025
37 checks passed
@dreamorosi dreamorosi deleted the event-hanlder-handleroprions-to-requestcontext branch September 10, 2025 15:58
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/L PRs between 100-499 LOC tests PRs that add or change tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maintenance: Reflect Change From HandlerOptions to RequestContext in REST API Resolvers

3 participants