hyperstack-org / hyperstack-org/hyperstack

hyper-trace issues

Aperta
#404 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
538
Fork
41
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

1. Need to add exception exclusions to Operations... i.e. add this method:

```ruby
def hypertrace_class_exclusions
[ list of expected internal exceptions ]
end
```
define at both class and instance level.

2. 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.

3. 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)

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.