You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm passing in a UUID as a part of my extra data and getting this error Object of type UUID is not JSON serializable.
This seems to be a problem with many django packages in general that rely on the json package, and traces down to the apns2 package that actually does the sending.
Anyone have any good solutions for this? Not sure that remembering to cast my ids to str every time is a good one.
The text was updated successfully, but these errors were encountered:
I'm passing in a UUID as a part of my
extra
data and getting this errorObject of type UUID is not JSON serializable
.This seems to be a problem with many django packages in general that rely on the
json
package, and traces down to the apns2 package that actually does the sending.Anyone have any good solutions for this? Not sure that remembering to cast my
ids
to str every time is a good one.The text was updated successfully, but these errors were encountered: