Skip to content

major reliability fixes and OData conventions cleanup#573

Merged
baywet merged 95 commits intomainfrom
bugfix/identifiers-with-dots
Oct 4, 2021
Merged

major reliability fixes and OData conventions cleanup#573
baywet merged 95 commits intomainfrom
bugfix/identifiers-with-dots

Conversation

@baywet
Copy link
Member

@baywet baywet commented Aug 31, 2021

This pull request was started as a fix around unhandled path parameters cases (odata functions, etc...) and ended up being a major quality and performance PR. For a list of all the things it addresses, please check the changelog in the PR.

fixes #527. #623

Generation Diff

microsoft/kiota-samples#291

@baywet baywet added this to the Beta milestone Aug 31, 2021
@baywet baywet added the TypeScript Pull requests that update Javascript code label Aug 31, 2021
@baywet baywet self-assigned this Aug 31, 2021
@baywet baywet force-pushed the bugfix/identifiers-with-dots branch from bace49d to aa4288b Compare September 1, 2021 17:40
@baywet baywet linked an issue Sep 14, 2021 that may be closed by this pull request
3 tasks
@baywet baywet added Csharp Pull requests that update .net code generator Issues or improvements relater to generation capabilities. labels Sep 14, 2021
@baywet baywet force-pushed the bugfix/identifiers-with-dots branch 2 times, most recently from 7a1e5fd to cd7e6b5 Compare September 20, 2021 12:34
@baywet baywet changed the title minor fixes related to full API description and OData conventions major reliability fixes and OData conventions cleanup Sep 20, 2021
@baywet baywet force-pushed the bugfix/identifiers-with-dots branch from cfe7277 to d050dc0 Compare September 23, 2021 12:04
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
- fixes a bug where class namespace names odata functions would contain parenthesis

Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
… imports

Signed-off-by: Vincent Biret <vibiret@microsoft.com>
…ns because of empty schema nodes

Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
- fixes shortest namespace determination
- major performance improvement in shortest namespace determination

Signed-off-by: Vincent Biret <vibiret@microsoft.com>
…ated

Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
@baywet baywet requested a review from andrueastman October 1, 2021 12:19
@baywet baywet force-pushed the bugfix/identifiers-with-dots branch from 2880339 to c96eac4 Compare October 1, 2021 14:01
@baywet baywet force-pushed the bugfix/identifiers-with-dots branch from c96eac4 to af27ff2 Compare October 1, 2021 14:02
@andrueastman
Copy link
Contributor

Thanks for the all great work here @baywet
I can confirm that generation using the full openApi description now compiles for dotnet. 🍾
I'll be happy to make another pass and revalidate this once we merge in #676 and resolve active comments

baywet added 2 commits October 4, 2021 08:59
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
@baywet baywet requested a review from andrueastman October 4, 2021 13:45
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 4, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

81.8% 81.8% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@andrueastman andrueastman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all this!

@baywet
Copy link
Member Author

baywet commented Oct 4, 2021

Thanks a lot for the hard review work! Merging

@baywet baywet merged commit 2b2ec1b into main Oct 4, 2021
@baywet baywet deleted the bugfix/identifiers-with-dots branch October 4, 2021 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Csharp Pull requests that update .net code generator Issues or improvements relater to generation capabilities. TypeScript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for ReferenceSegments ($ref) in dotnet OData function/action dotnet generation Duplicate import identitfier

2 participants