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

feat(thread): Implemented associatedEntities functionality #330

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wotta
Copy link
Contributor

@wotta wotta commented Jan 21, 2025

  • PHP version: 8.4
  • SDK version: 3.10.2

Current behavior:
Currently I am unable to fetch the associatedEntities data from the Thread object.

Changed behavior:
Implemented some logic to hydrate and extract/get the associatedEntities data from the Thread object. Main reason for this implementation is because of the convo.merged webhook utilizing this field within the dataset which I need to hook into to resolve some stuff on my end.

Changes proposed in this pull request:

  • Add new associatedEntities property for the Thread object.
  • Implemented logic to extra the data within the hydrate method.
  • Add getter.
  • Add helper wasMerged method used within ThreadTest to help keeping the test logical.
  • Updated ThreadTest.

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.

1 participant