autorest icon indicating copy to clipboard operation
autorest copied to clipboard

Multiple allOf references

Open dco123 opened this issue 9 years ago • 3 comments

In #1180 it is mentioned that multiple inheritance may be addressed in future using interfaces - I'm just wondering what the status of that is? Are there still plans to support multiple allOf ref's through interfaces? Only supporting polymorphism on schema's with one allof ref causes issues for us because that doesn't logically apply to some of our models.

Thanks

dco123 avatar Oct 11 '17 18:10 dco123

@dco123 Still planned, but not on the top of the list of our priorities. Most importantly, it would be a breaking change compared to how we generated things in the past. Due to our commitment to not break our customers, we would have to maintain two ways to handle allOf for a good while.

Still, it is the long term goal to do this (remodel polymorphism in general, more things are impossible with the current modelling), but I can't estimate when that will happen.

olydis avatar Oct 11 '17 23:10 olydis

Ok, thanks for the update

dco123 avatar Oct 12 '17 06:10 dco123

any update on this?

raveeshupahuja avatar Jul 08 '19 18:07 raveeshupahuja