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

fixed failing of - message_response: "accepted" unknown field sending template_message. ignoring any newer fields #139

Merged
merged 1 commit into from
Jan 27, 2024

Conversation

shivamSharmaMWP
Copy link
Contributor

Hi,

A new field "message_status" is coming in the response of sending template message. and existing jackson converter is failing on finding newer fields. So i have ignored the feature of failing on unknown fields. Other workaround might be adding new field in MessageResponse.java record class, but again things may break if something comeups up again.

Please review and merge it to your main branch. You have developed really beautiful code. great work.

{
"messaging_product": "whatsapp",
"contacts": [
{
"input": "918553224979",
"wa_id": "918553224979"
}
],
"messages": [
{
"id": "wamid.HBgMOTE4NTUzMjI0OTc5FQIAERgSNEIzRDZGNTY2RDBCQkZGQTU1AA==",
"message_status": "accepted"
}
]
}

… template_message. ignoring any newer fields.
@github-actions github-actions bot added the java Pull requests that update Java code label Nov 8, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Hello and welcome! We are excited to see your first pull request and appreciate your contribution to our project. Our team is reviewing your changes and we will provide feedback as soon as possible. Thank you for taking the time to improve our project and we look forward to working with you!

@Bindambc Bindambc merged commit d8665f2 into Bindambc:main Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants