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

Update Message doc comments #7

Merged
merged 1 commit into from
May 13, 2024
Merged

Update Message doc comments #7

merged 1 commit into from
May 13, 2024

Conversation

lucasmerlin
Copy link

I noticed that the doc comments on the Message struct are in the wrong order, here the order has been corrected.

Also, looking at the fcm docs, I think data values are only supposed to have string values, while serde_json::Value would allow for any json values, maybe this should be updated to a HashMap<String, String>?

For now I've updated the data comment to state these limitations.

@rj76
Copy link
Owner

rj76 commented May 13, 2024

Thank you for noticing! And you're also right about the string values, this was not implemented correctly.

@rj76 rj76 merged commit cd7323c into rj76:main May 13, 2024
8 checks passed
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