Skip to content

Feature Request: Option to add user-defined prefixes to generated types #46

@Aderinom

Description

@Aderinom

I'd like to request an option which allows to prepend a user-defined prefix to generated message struct names.

In multi-protocol systems, it is common to maintain a canonical model for shared types. To avoid naming collisions between generated message types from different domains or protocols, it would be useful to support a configurable prefix for generated Rust message structs.

Example:

message User {}

Without a prefix:

struct User

With a prefix such as Rpc:

struct RpcUser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions