Skip to content

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

Closed

Description

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 Vincent Biret (@baywet)

Activity

  1. baywet commented on May 16, 2022

    @baywet
    Member

    ping Irvine Sunday (@irvinesunday) who's released that latest version of the conversion library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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