derberg / python-mqtt-client-template

This template generates MQTT Python client module. Its purpose is to abstract for the application client technical information about the broker and the names of topics it should use. Instead, it generates a module that provides a set of indent-driven functions that one can invoke to send a message to the application through the message broker.
2 stars 1 forks source link

For now template requires users to provide `operationId` in their files #2

Closed derberg closed 11 months ago

derberg commented 1 year ago

We should recommend operationId but not fail if it is not there. The best would be if we have a fallback mechanism, like if there is no operationId we could grab operation name or something

related code https://github.com/derberg/python-mqtt-client-template/blob/main/components/TopicFunction.js#L32

thulieblack commented 1 year ago

As a lazy programmer, I'll start with this issue