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

Replace usage of CLR Types in introspec dto's #22

Closed
wwwlicious opened this issue Apr 9, 2017 · 0 comments
Closed

Replace usage of CLR Types in introspec dto's #22

wwwlicious opened this issue Apr 9, 2017 · 0 comments
Milestone

Comments

@wwwlicious
Copy link
Owner

To get maximum compatibility with generated language contracts, avoid using native CLR types in introspec DTOs

ApiContact uses CLR type Uri
Replace with a string, or simple ApiUrl dependency free class if subproperties are required like scheme, IsSecure etc

ApiPropertyDocumention uses System.Type for property ClrType.
Again replace with a simple poco class containing the properties of Type required (Name, IsPrimative, AssemblyQualifiedName` etc)

@wwwlicious wwwlicious added this to the 2.0 milestone May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant