Closed codingdna2 closed 4 years ago
@tonysneed These are the additional changes I made. I marked the PR as draft as I'm not really sure all the errors are covered. In detail, when I added parameter propertyType
to TransformPropertyName
and TransformNavPropertyName
I couldn't check the passed value is correct everywhere. I guess the only way to approach it correctly would be creating some Unit Tests but I'm not sure I can find the time.
Finally, I squashed just my modifications, leaving the @dmayhak one separated. I'm not sure is the correct way to credit him as I'm not a git expert (nor I know too much the PR etiquette)... You will have to pardon me on this ;)
@codingdna2 For now it's enough to test the transformers with the ScaffoldingSample
project. Great job on finishing up the PR and crediting @dmayhak.
This PR fix issue #98, includes all the fixes made by dmayhak and discussed in PR #102 including author requested changes, and completes it with some more fixes.
In order to reproduce the additional issues I've found, run the sample with the followings:
and execute the scaffold adding the DataAnnotation flag
-d
:I wanted to add some unit tests because at the present moment Transformers are not covered, but I didn't find the time yet.