Open
Description
Is your feature request related to a problem? Please describe.
Related to #18829 – although it is documented in the library option, it would be much more helpful to users if it would fail hard.
Describe the solution you'd like
Ideally, the generator would know about this and exit with a helpful message. Less ideal, it would just throw an exception (might lead to more bug reports than it saves).
Approach
Generally, the current codebase lacks the ability to programmatically query this kind of information from one place. I've started to develop a structured enum that may could be used for this task and also simplify the existing assignment of serializationLibrary
in processOpts()
: