blipson89 / Leprechaun

A template code generation framework for Rainbow
MIT License
42 stars 22 forks source link

Supporting generation of models with multiple number of base templates #45

Closed Viktar-Semiarykou closed 3 years ago

Viktar-Semiarykou commented 3 years ago

This is a example how we fixed this problem via GlassMapper.csx changes. Hope it will be helpful GlassMapper.csx.txt

Viktar-Semiarykou commented 3 years ago

to check this you will need to resolve this issue first https://github.com/blipson89/Leprechaun/issues/46

blipson89 commented 3 years ago

You've been quite busy it seems, and I appreciate it!

I'll look into these tonight and see about getting a formal fixed issued this week.

thank you!

blipson89 commented 3 years ago

@Viktar-Semiarykou I've updated the GlassMapper.csx file. Please try that version out and see if it suits your needs. The one you attached had some redundancies in there that I removed. The new one should generate similar, if not identical, code.

You will need to follow my notes in the comment of issue #44 to pull down and configure the latest version of Leprechaun first.

Please let me know if this solved the issue.

blipson89 commented 3 years ago

Updated in 2.1.0