Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes incompatibility with new odata primitive format. #5557

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

andrueastman
Copy link
Member

Related to microsoft/OpenAPI.NET.OData#589

Latest changes in the conversion library add the type property to the schema of the ReferenceNumeric type used in odata primitives.

This causes incompatibility with the IsODataPrimitiveType which only expects one schema to have the type of string.

This PR updates the implementation so that the new scenario is captured and older documents with the older format are not broken by this change.

@andrueastman andrueastman requested a review from a team as a code owner October 8, 2024 12:30
Copy link

sonarcloud bot commented Oct 8, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
74.4% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@andrueastman andrueastman merged commit dc20236 into main Oct 8, 2024
208 of 209 checks passed
@andrueastman andrueastman deleted the andrueastman/odataPrimitives branch October 8, 2024 12:36
@andrueastman andrueastman self-assigned this Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants