Added support for class inheritance #1107
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.