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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃尡 Expose handler.MapFunc to allow implementers to test mappers #1194

Merged
merged 1 commit into from
Oct 1, 2020

Commits on Oct 1, 2020

  1. 馃尡 Expose handler.MapFunc to allow implementers to test mappers

    This is a follow-up from a previous change to the handler package that
    deprecated the old handler.ToRequestFunc in favor of
    EnqueueRequestsFromMapFunc.
    
    While we still want to prefer using EnqueueRequestsFromMapFunc, this
    change also exposes the type of MapFunc signature expected. Users can
    use this type to test their own mappers in unit tests.
    
    Signed-off-by: Vince Prignano <vincepri@vmware.com>
    vincepri committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    d61f561 View commit details
    Browse the repository at this point in the history