Skip to content

Make config datamodel equatable and rename FCMApnsAlertOrString helpers#15

Merged
MihaelIsaev merged 3 commits intoMihaelIsaev:masterfrom
FredericRuaudel:make_config_datamodel_equatable
Nov 29, 2019
Merged

Make config datamodel equatable and rename FCMApnsAlertOrString helpers#15
MihaelIsaev merged 3 commits intoMihaelIsaev:masterfrom
FredericRuaudel:make_config_datamodel_equatable

Conversation

@FredericRuaudel
Copy link
Copy Markdown
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