Generating subentites builders #18
Labels
draft
Not yet finished description
enhancement
New feature or request
XL-size
It'll require a lot of work
Milestone
The golden sample
the source generator should have possibility to generate as follows:
Source:
Output:
Detecting entities to generate builders
Namespace rule
To prevent generating wrongly builders for build-in types, or types from external libraries, the buildenator will detect subentities by the same root namespace of the parent entity.
e.x.
this is correct:
this is not correct:
Filtering out value types
By default if the subentity has only one not sophisticated property/contr. parameter, it will be treated as a value type, so no additional builders will be created.
Configurability
Known problems and challenges
For the future
For example, if the AR has its namespace A.B.C.D, and we set up the number of identifiers to 2, then the generator will generate builders for each entity that has its namespace in the A.B scope.
The text was updated successfully, but these errors were encountered: