Skip to content

Support For One Object, Multiple Templates#18

Open
heroinbob wants to merge 6 commits into
xtremelabs:masterfrom
heroinbob:update-obj-tmpl-mapping
Open

Support For One Object, Multiple Templates#18
heroinbob wants to merge 6 commits into
xtremelabs:masterfrom
heroinbob:update-obj-tmpl-mapping

Conversation

@heroinbob
Copy link
Copy Markdown

I have a project that requires several looks for a pass based on various criteria. Maintaining several pass type ids, configurations and classes ends up being time consuming and bloated. This allows the object to determine what pass template to use based on the pass_type_id attribute value rather than the class name. I also added some test coverage to ensure backwards compatibility, and updated the README.md.

I thought this might be a useful feature for others too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant