hyperstack-org / hyperstack-org/hyperstack

hyper-trace issues

Đang mở
#404 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
538
Fork
41
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.