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

Make config datamodel equatable and rename FCMApnsAlertOrString helpers #15

Merged

Conversation

FredericRuaudel
Copy link
Contributor

Sorry, it's me again 😬

Should be the last PR I need for now. 🤞

This one make the payload data models Equatable, again to ease tests. To do this, I had to convert some models from class to struct (FCMApnsPayload and FCMApnsApsObject).

Is there a particular reason for using class here or it is simply a default choice?

I also renamed the FCMApnsAlertOrString to asPayload/asMessage as mentioned in the previous one.

Again, thanks very much for your quick reviews.

@MihaelIsaev MihaelIsaev merged commit def50eb into MihaelIsaev:master Nov 29, 2019
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