2.4.0 Notes
- Introduced
Transaction.Application
method which returns theApplication
that started theTransaction
. This method is useful since it may prevent having to pass theApplication
to code that already has access to theTransaction
. Example use:
txn.Application().RecordCustomEvent("customerOrder", map[string]interface{}{ "numItems": 2, "totalPrice": 13.75,})
- The
Transaction.AddAttribute
method no longer acceptsnil
values since our backend ignores them.