Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow set_transaction_name to change name and category of current transaction. #1797

Merged
merged 3 commits into from
Feb 6, 2023

Conversation

tannalynn
Copy link
Contributor

@tannalynn tannalynn commented Feb 6, 2023

This updates how set_transaction_name works so it functions more as expected and accomplishes what customers have expected it to do. Now, when set_transaction_name is called with a different category that is already assigned, the category and name will be changed to what is passed in. Previously, nothing would happen if the category was different.

The set_transaction_name api docs did not need to be updated because the way it is worded already implies that this is how it was supposed to work in the first place.

closes #1064

@github-actions
Copy link

github-actions bot commented Feb 6, 2023

SimpleCov Report

Coverage Threshold
Line 93.97% 93%
Branch 85.44% 84%

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: James Bunch <fallwith@gmail.com>
@tannalynn tannalynn merged commit 315107e into major-release-9 Feb 6, 2023
@tannalynn tannalynn deleted the allow_set_txn_name_to_change_category branch June 23, 2023 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants