Skip to content

feat(GlobalTagging): add message field to TagResultsItem#324

Open
stefano-rm wants to merge 1 commit intoIBM:mainfrom
stefano-rm:task_29830
Open

feat(GlobalTagging): add message field to TagResultsItem#324
stefano-rm wants to merge 1 commit intoIBM:mainfrom
stefano-rm:task_29830

Conversation

@stefano-rm
Copy link

PR summary

Add optional message field to TagResultsItem interface to expose detailed error messages returned by the GhoST Tags API when tagging operations fail.

PR Checklist

  • The commit message follows the Angular Commit Message Guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Current behavior: When a tagging operation fails, the TagResultsItem only contains resource_id and is_error fields. Error details are not exposed to SDK users.

New behavior: The TagResultsItem now includes an optional message field that contains the error message returned by the API, providing better error diagnostics.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

  • Related to (IBM) task #29830
  • Changes are minimal: only adds the message?: string field to the interface
  • The field is optional and backward compatible
  • Swagger definition has been updated and merged in the ghost-for-resources repository

Add message field to TagResultsItem interface to expose detailed error
messages from the GhoST Tags API.

Changes:
- Added message field to TagResultsItem interface

Related: ghost-for-resources swagger PR (merged)
Signed-off-by: Stefano Roberto Mollica <stefano.mollica@it.ibm.com>
@CLAassistant
Copy link

CLAassistant commented Feb 12, 2026

CLA assistant check
All committers have signed the CLA.

Copy link

@mkrudele mkrudele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see updates to unit tests.

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.

3 participants