-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
Hi! We're exploring the usage of typify to generate some Rust code that needs to process incoming JSON objects.
One of these schemas is an enum, which can be summarised as:
enum Product {
MotorOffer(MotorOffer),
MotorInsurance(MotorInsurance),
}Unfortunately, the code generator in typify is eliminating the Motor prefix, which we would like to preserve because we have other kinds of products in different parts of the codebase (not represented by this enum) and losing this prefix makes the code less clear and readable for us.
Is there a way to turn off this common prefix elimination?
Metadata
Metadata
Assignees
Labels
No labels