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