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

Fix expo response details model #25

Closed
wants to merge 1 commit into from

Conversation

mgazza
Copy link

@mgazza mgazza commented Jun 17, 2022

Fix the issue when publishing notifications to expo the reading of the
response fails with json: cannot unmarshal object into Go struct field PushResponse.data.details of type string.

fixes #13

Fix the issue when publishing notifications to expo the reading of the
response fails with `json: cannot unmarshal object into Go struct field
PushResponse.data.details of type string.`

fixes oliveroneill#13
@mgazza
Copy link
Author

mgazza commented Jun 17, 2022

with reference to other language implementations of this. Details are just an object, here we are enforcing the child properties of this object are string, which it looks like they are not.

@nathancoleman
Copy link

FYI I've merged this into my fork over at https://github.com/nathancoleman/exponent-server-sdk-golang because my production use case was broken.

@mgazza mgazza closed this Mar 14, 2023
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.

Error on PushResponse.data.details
2 participants