-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed as not planned
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytheme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement
Description
When transforming data in custom code, it would be beneficial to be able to reuse the built-in converters while being able to take control over an element of the chain.
An example is Map<String,T>
where T
is written as a local variable. Once that's done, it should be possible to let the generator write the code for Map<String,TheNameOfTheField>
but such indirection isn't possible at the moment.
Checking if the value is a CodeBlock
and then render that as is should help as code generation doesn't have to comply with the actual type of what the generated code represents.
Metadata
Metadata
Assignees
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytheme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement