-
Notifications
You must be signed in to change notification settings - Fork 323
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
Serialization fails is some cases when there are multiple type aliases #68
Comments
One of the workarounds I tried was multiple --using options, but it resulted in the following exception which pointed to a bad join on aliased types and made me think that only the single option was being read.
|
Since there are unit tests with multiple type aliases I suspect that this is not the problem so I'm closing this issue. Please open an issue with more specific information (ideally a repro). |
[Update]
I got codegen and samples working with two --using="type-alias=generated-code-type" statements in the options. Unfortunately, serialization still fails with the exception below.
I'm trying to author an IDL with multiple aliases. The IDL parses fine, but the compiler doesn't seem to account for more than one kvp in the --using parameter.
Expected:
--using="datetime=System.DateTime;guid=System.Guid" works
Actual:
--using="datetime=System.DateTime;guid=System.Guid"
results in generated code like the following:
The text was updated successfully, but these errors were encountered: