Skip to content

Move code URI from ConversationCode to ConversationCodeInfo#4911

Merged
akshaymankar merged 1 commit intodevelopfrom
conv-code-info-schema
Dec 16, 2025
Merged

Move code URI from ConversationCode to ConversationCodeInfo#4911
akshaymankar merged 1 commit intodevelopfrom
conv-code-info-schema

Conversation

@akshaymankar
Copy link
Member

This is more semantically correct and allows us to guarantee that there will always be a URI returned with the code.

https://wearezeta.atlassian.net/browse/WPB-9010

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

This is more semantically correct and allows us to guarantee that there will
always be a URI returned with the code.
@akshaymankar akshaymankar requested review from a team as code owners December 16, 2025 12:38
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Dec 16, 2025
"code": "sEG3Y60tIsd9P3",
"key": "M0vnbETaqAgL8tv5Z1_x",
"uri": "https://example.com"
"key": "M0vnbETaqAgL8tv5Z1_x"
Copy link
Member Author

Choose a reason for hiding this comment

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

This looks like a breaking change, but this type is not used at top level of any API, so this is fine.

Copy link
Contributor

@blackheaven blackheaven left a comment

Choose a reason for hiding this comment

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

I wonder if it throws an error when the client puts the drop field in the payload.

@akshaymankar
Copy link
Member Author

I wonder if it throws an error when the client puts the drop field in the payload.

Its never a request payload.

@akshaymankar akshaymankar merged commit 36c31d4 into develop Dec 16, 2025
10 checks passed
@akshaymankar akshaymankar deleted the conv-code-info-schema branch December 16, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants