hidi transform CSDL with ContainsTarget="true" infinite loop
amine-mf opened this issue · comments
Describe the bug
Running hidi transform
using any of the following csdl (except `cleanMetadata.xml which works) put it in an infinite loop :
https://github.com/microsoftgraph/msgraph-metadata/tree/master/clean_v10_metadata
Noticed that the difference between the file that transforms and the ones that fail is the attribute ContainsTarget
, once removed from any of those files, hidi
is able to handle the transform
OpenApi File To Reproduce
Any of the mentioned above. (example: cleanMetadataWithDescriptionsv1.0)
Expected behavior
The tool should not "freeze", it should handle the transformation successfully.
The impact of the attribute is yet to be discussed I guess, not sure if should have an impact on the transformation. Did not debug, so not sure which step of the process actually "bugs".
Screenshots/Code Snippets
If applicable, add screenshots of the stack trace or a code snippet to help explain your problem.
If applicable, add a link to your project
Additional context
Add any other context about the problem here.