Closed mcrumm closed 5 months ago
@wojtekmach We could get more specific and pattern match on the message attributes but I am not sure there is much virtue in it. What do you think?
We could get more specific and pattern match on the message attributes
The benefit of doing that is that, if there is a new format in the future, we won't try to accidentally decode without knowing what it actually is.
Messages with
payloadFormat: "NONE"
may not contain the data attribute. Note something may have changed on Google's side because I believe this was previously handled by the nil check.Closes #98