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

Added support for class inheritance #1107

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

mdbree-keesing
Copy link

CONTEXT
I use a property in my model that is based on a base-class. I want the consumer of the SVC to provide (out of the inherited classes) which one it likes to use as an value. This isn't possible since the derived classes aren't included in the SVC output which results in a missing class when generating the model via the Microsoft Visual Studio WCF code generator.

PROBLEM
Currently it is checking for the custom attributes of the 'serviceType' but it doesn't check for the attributes on all related types within the same namespace, hence the inherited classes aren't included.

FIXED
These changes will include all the related types within the same namespace to resolve this issue. It will allow to use inheritance within the model.

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