Open mattrhoden opened 4 years ago
Hi @MiYanni I saw you updated the label. Are there any updates? Please let me know if there's a version I am supposed to be on, needs added or if anything is missing. If there's anything I can do to help, would love to give a hand :raising_hand_man:
@mattrhoden We're currently working on v3 of autorest.csharp. Unfortunately, we don't have knowledge of v2, and we don't have any intent on updating v2. v3 is rewritten from the ground up. This scenario works in v3 already, as the depth of the inheritance doesn't make a difference to the new generator. Currently, we're just marking issues for v2 so that when we go to release v3, we can review v2 issues and see if we've covered the scenarios appropriately in v3.
@MiYanni I read about there being a v3 in the works somewhere on the internet, maybe in a different issue. Is there some beta version that I could use?
I have v3 of autorest core installed, but as you can see the extensions pulled down are for v2, despite me specifying --V3
as part of the arguments.
Maybe there's another argument I'm missing? I would be so grateful if you could point out my mistake in the command line.
@mattrhoden Currently, v3 is only targeting Azure services. There are many features we're working on supporting, but we're getting closer to having some kind beta release. Right now, we're only working with our immediate team and other Azure service teams in terms of feature priority.
To give a little history, AutoRest Core v3 was built in conjunction with building the AutoRest PowerShell generator (what I helped work on). Since then (which happened last year), all other language teams have been working on generators to work with AutoRest Core v3. As it stands, until packages are released for these new generators, all of the old generators will still be acquired and work with AutoRest Core v3.
Hi, I hope this is the right place to file this bug. I am trying to use autorest to generate an api client for our project. It seems to fail when there's an inheritance structure that's at least 2 levels deep. I found one ticket that shows this issue as being resolved, but I am still able to reproduce this.
https://github.com/Azure/autorest/issues/2430
The command and the result are at the bottom of this ticket. Sorry, even the shortest schema is still kind of long.
Also, I just wanted to point out that the error message looks like it is missing additional information that is supposed to be printed out:
Found incompatible property types , for property 'bestFriends' in schema inheritance chain
Model Structure
Generated Schema
Command & Result