Open tonyhallett opened 3 years ago
It would be useful to allow ClassAndInterfaceGeneratorBase to supply code generators for members.
It is possible with
var attr = exportContext.CurrentBlueprint.ForMember...... attr.CodeGeneratorType = generatorType;
It would be useful to allow ClassAndInterfaceGeneratorBase to supply code generators for members. I have a solution that I will provide through nuget shortly but for now the idea is a) Override GenerateMembers b) Implement GeneratorFor
Also, the code below could be improved https://github.com/reinforced/Reinforced.Typings/blob/ef433b532a47f1fb91bc0312d351835398ac5c13/Reinforced.Typings/GeneratorManager.cs#L54
We can specify the code generator for a member directly on a member with attribute or fluent. Note that there is a mechanism in place to supply for all methods ( only ) through the TsClassAttribute only, not from the fluent API.