Skip to content

Add Identified Trait for convo#138

Merged
jazzz merged 2 commits into
mainfrom
jazzz/id_readd
Jun 19, 2026
Merged

Add Identified Trait for convo#138
jazzz merged 2 commits into
mainfrom
jazzz/id_readd

Conversation

@jazzz

@jazzz jazzz commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Problem

At some point the Id trait was removed Convo trait, which meant that each ConversationType needed to implement its own function. This meant that calls to id() could not be dynamically dispatched. This is required for future PR updates to allow type erasure.

Solution

Add Identified trait to conversations. The trait is then required by Convo trait to ensure that all conversations have the Id method.

Notes

  • The previous trait was named Id however conflicted with other objects. Identified was chosen to clearly identify its a trait.

@jazzz jazzz mentioned this pull request Jun 18, 2026
@jazzz jazzz merged commit c5b264c into main Jun 19, 2026
10 of 15 checks passed
@jazzz jazzz deleted the jazzz/id_readd branch June 19, 2026 15:43
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