question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add `replacing` property to events

See original GitHub issue

I suggest adding replacing property to events. This would make users’ lives easier and safer.

There are two issues with the replacing and replacedBy properties:

  1. They aren’t included (both are null) when you query specific transactions, e.g. HTTP GET v1/cryptos/{cryptoCode}/derivations/{derivationScheme}/transactions/{txId}. If you have lots and lots of transactions for your derivation scheme, querying all transactions when you’re only interested in one becomes really impractical.
  2. They aren’t included in newtransaction events (I guess replacedBy isn’t applicable, but repacing certainly is)

For me, fixing issue 2 would be preferable, but if that’s not possible, fixing 1 works too. Of course both would be great.

Issue Analytics

  • State:closed
  • Created 6 months ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
NicolasDoriercommented, Mar 24, 2023

@kallerosenbaum I have another trouble: replacing should be an array rather than a single value. As a single transaction can replace sevaral other transaction.

0reactions
kallerosenbaumcommented, Mar 24, 2023

I have reviewed now, only one question, on #413 . Thanks so much for your efforts!!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to add a property to `change` event in jQuery
I need to modify it's change event, so it would have a val_after_change property, no matter how event was triggered. // THIS FUNCTION...
Read more >
How to: Implement Property Change Notification - WPF . ...
To implement INotifyPropertyChanged you need to declare the PropertyChanged event and create the OnPropertyChanged method. Then for each ...
Read more >
How to Write a Property Change Listener
Property -change events occur whenever the value of a bound property changes for a bean — a component that conforms to the JavaBeans™...
Read more >
Change the description of an event or property
In the event details panel that opens, navigate to Details > Properties, and click the property you want to update. Make sure the...
Read more >
HTMLElement: change event - Web APIs | MDN
The change event is fired for <input> , <select> , and <textarea> elements when the user modifies the element's value.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found