Skip to content

adds validation with generated project - #340

Merged
Andrew Omondi (andrueastman) merged 1 commit into
andrueastman/resolvetypingerrorsfrom
andrueastman/addgenerationValidation
Sep 23, 2024
Merged

adds validation with generated project#340
Andrew Omondi (andrueastman) merged 1 commit into
andrueastman/resolvetypingerrorsfrom
andrueastman/addgenerationValidation

Conversation

@andrueastman

@andrueastmanAndrew Omondi (andrueastman) commented Sep 23, 2024

Copy link
Copy Markdown
Contributor

Fixes#333

Related to microsoft/kiota#5453

Resolves typing errors in library and generated code by updating the ParsableFactory type to be a type variable across the SDK.

Adds a generated project that validates that running the static type checker does not yield errors due to inconsistencies in the typing information used in the generated code and the libraries.

Sample run at https://github.com/microsoft/kiota-abstractions-python/actions/runs/10994899545

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate FailedQuality Gate failed

Failed conditions
36.4% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@andrueastman
Andrew Omondi (andrueastman) merged commit a6f130d into andrueastman/resolvetypingerrorsSep 23, 2024
@andrueastman
Andrew Omondi (andrueastman) deleted the andrueastman/addgenerationValidation branch September 23, 2024 15:18
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@andrueastman@baywet