-
Notifications
You must be signed in to change notification settings - Fork 47
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
base: main
Are you sure you want to change the base?
Implement Forwarding #347
Conversation
@@ -67,6 +67,7 @@ | |||
"message_reference": {}, | |||
"flags": 1, | |||
"referenced_message": null, | |||
"message_snapshots": null, |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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": { |
There was a problem hiding this comment.
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": { |
There was a problem hiding this comment.
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.
This PR adds data structures to support forwarding