Skip to content

Class name used instead of namespace in generated code #13

@explore-it

Description

@explore-it

Class name is used instead of namespace in many lines of generated code resulting in build error.

Using streetlights-mqtt.yml example as input, the generated code have namespace streetlight (all lower case) and class name Streetlight (Uppercase S) (generated using "--name Streetlight")
The generated code incorrectly uses 'Streetlight::schema', "Streetlight::message" and "Streetlight::parameter" etc using class name 'Streetlight' instead of using namespace 'streetlight'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions