You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @andrueastman,
Thanks for reporting this.
Why would you expect the reason property to be a collection? It's not described as an array.
The fact that the type is getting inlined because of the change is concerning though.
Thanks for clearing this up @baywet. The issue does seem to be with inlining.
I made the mistake of thinking it had to do with collections due to other examples I was looking at that met the criteria such as acceptedModalities here.
Latests generation at https://dev.azure.com/microsoftgraph/Graph%20Developer%20Experiences/_build/results?buildId=130660&view=logs&j=0c914960-8b50-5299-c9aa-dd3c9595168e&t=97dbd468-8cc6-5acc-f2af-de93eaf8bad9 fails due to changes in #3921
Referenced types of enum in an anyOf or array are incorrectly generated as inline types.
e.g. the reason property is generated as
RejectPostRequestBody_reason.cs
rather than a collection of micrososft.graph.rejectedReasonsThe text was updated successfully, but these errors were encountered: