hyperstack icon indicating copy to clipboard operation
hyperstack copied to clipboard

hyper-trace issues

Open catmando opened this issue 4 years ago • 0 comments

  1. Need to add exception exclusions to Operations... i.e. add this method:
def hypertrace_class_exclusions 
  [ list of expected internal exceptions ]
end

define at both class and instance level.

  1. Operations checks the arity of the method to decide whether to forward the parameters, but hypertrace accepts *args (arity -1) this confuses operations and ends up passing a value along. Have to have some way to tell hyperoperation what the real arity was.

  2. line 202 needs a guard so that if parameters is not available we leave well enough alone. (make sure return unless specs works when specs is javascript undefined)

    def map_with_specs(method, actual, show_blank_rest)
      specs = method.parameters
      return unless specs

catmando avatar Apr 07 '21 19:04 catmando