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

Allows for base classing of Element types #211

Closed
wants to merge 3 commits into from

Conversation

pgregorynz
Copy link

Ignores types that are of type PublishedElementModel when applying a custom base class attribute.

Could be improved allow for a custom base class element types also

Ignores types that are of type PublishedElementModel when applying a custom base class attribute
@pgregorynz
Copy link
Author

Partially fixes issue #205 Still needs ability to create custom base class for Elements.

Adds the ability to create a Element base class
@pgregorynz
Copy link
Author

This now also allows for base classing of Elements. However still needs a Unit Test.

@pgregorynz pgregorynz changed the title Update Builder.cs Allows for base classing of Element types Aug 8, 2019
@zpqrtbnk
Copy link
Collaborator

Currently reviewing + testing.

In ParseResult.cs you have two new things, IsIncluded and IsContentOrMixinIncluded and I am not sure what they are / how they relate to setting models base classes?

Other than that, it looks good, although I might merge with a few adaptations.

@zpqrtbnk
Copy link
Collaborator

Am going to close the PR - it has been merged, kinda - used for inspiration + stealing code, but could not merge it directly. Thanks anyways!

Keeping issue #205 open for discussion etc.

@zpqrtbnk zpqrtbnk closed this Aug 26, 2019
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.

None yet

2 participants