Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support For One Object, Multiple Templates #18

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

heroinbob
Copy link

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