Skip to content

Stack overflow exception on running Hidi version 1.0.0-preview.2 and above #866

@andrueastman

Description

@andrueastman

Running hidi version 1.0.0-preview.2 and 1.0.0-preview.3 with this file as input results in a stack overflow exception.

https://github.com/microsoftgraph/msgraph-metadata/blob/master/clean_v10_metadata/cleanMetadataWithDescriptionsAndAnnotationsAndErrorsv1.0.xml

Arguments are

transform --csdl .\clean_v10_metadata\cleanMetadataWithDescriptionsAndAnnotationsAndErrorsv1.0.xml --output openapi.yml --version OpenApi3_0 --loglevel Information --format yaml

Downgrading to 1.0.0-preview.1 however seems to not result in the same behavior.

The issue also gets fixed when I downgrade the Microsoft.OpenApi.OData dependency from 1.0.10 to 1.0.10-preview3 at the head of the vNext branch.

This may need some investigation to understand the root cause.

cc @baywet

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions