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

Implement Forwarding #347

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

vicr123
Copy link

@vicr123 vicr123 commented Dec 8, 2024

This PR adds data structures to support forwarding

@vicr123 vicr123 marked this pull request as ready for review December 8, 2024 11:08
@Nihlus Nihlus added the waiting for review The PR is awaiting review by maintainers label Jan 2, 2025
@@ -67,6 +67,7 @@
"message_reference": {},
"flags": 1,
"referenced_message": null,
"message_snapshots": null,
Copy link
Member

Choose a reason for hiding this comment

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

This field is optional, not nullable.

@@ -71,6 +71,7 @@
"message_reference": {},
"flags": 1,
"referenced_message": null,
"message_snapshots": null,
Copy link
Member

Choose a reason for hiding this comment

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

This field is optional, not nullable.

@@ -1,4 +1,5 @@
{
"type": 0,
Copy link
Member

Choose a reason for hiding this comment

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

This field is optional and is missing test data.

@@ -0,0 +1,45 @@
{
"message": {
Copy link
Member

Choose a reason for hiding this comment

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

MessageSnapshot contains no optional fields - this file is redundant and can be deleted.

@@ -0,0 +1,45 @@
{
"message": {
Copy link
Member

Choose a reason for hiding this comment

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

Please add a separate file where the partial message is an empty object (MESSAGE_SNAPSHOT.partials.json) - we want to cover both a populated and unpopulated message path.

@Nihlus Nihlus added waiting for author The PR is awaiting an update from the author and removed waiting for review The PR is awaiting review by maintainers labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for author The PR is awaiting an update from the author
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants