Azure / Azure/azure-functions-python-library
Queue messages get their id from body of message.
- Lingua principale
- Python
- Stelle
- 179
- Fork
- 79
- Merge medio
- 2g 8h
- PR unite (30g)
- 2
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia tracciando QueueMessageInConverter e l’argomento trigger_metadata menzionato nel report, quindi confronta l’Id del corpo del messaggio con QueueMessage.id. Determina se questo comportamento è intenzionale e da dove proviene il valore. Il lavoro è completato quando il comportamento è chiarito e, se non è corretto, è coperto da un test di regressione mirato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- backend, cloud
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100