Azure / Azure/azure-functions-python-library
Queue messages get their id from body of message.
- Langage dominant
- Python
- Étoiles
- 179
- Forks
- 79
- Merge moyen
- 2 j 8 h
- PR mergées (30 j)
- 2
Description
I am not sure if this is intentional but if a message contains an "Id" field it seems to be used as the `id` property in `QueueMessage`. I assume that this has something to do with how the contents of `trigger_metadata` are set (I am unable to identify the origin of the argument). I assume this because of how it is being extacted in `QueueMessageInConverter` and the fact that my messages arrive with the same `body['Id']` and `msg.id`.
Maybe I am completly wrong but I am curious if this is intentional or aviodable somehow, if not I would like to open a discussion about it.
I personally did not expect this behaviour and it required a ugly workaround.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par suivre QueueMessageInConverter et l’argument trigger_metadata mentionné dans le rapport, puis comparez le Id du corps du message à QueueMessage.id. Déterminez si ce comportement est intentionnel et d’où provient la valeur. C’est terminé lorsque le comportement est clarifié et, s’il est incorrect, couvert par un test de régression ciblé.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- backend, cloud
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100