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

Typescript Adding model interface, serializer and deserializer functions and remove model classes #1559

Merged
merged 145 commits into from
Apr 25, 2023

Conversation

@nikithauc nikithauc changed the title Nikithauc/model as interfaces Adding interfaces to TypeScript generation for models, request configs and query params May 10, 2022
@baywet baywet added the TypeScript Pull requests that update Javascript code label May 10, 2022
Copy link
Member

@baywet baywet 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 the initial take at this. On top of my comments, there are a lot of linting comments to fix and also unit tests.

src/Kiota.Builder/CodeDOM/CodeInterface.cs Outdated Show resolved Hide resolved
src/Kiota.Builder/Writers/TypeScript/CodeMethodWriter.cs Outdated Show resolved Hide resolved
src/Kiota.Builder/Writers/TypeScript/CodeMethodWriter.cs Outdated Show resolved Hide resolved
src/Kiota.Builder/Refiners/TypeScriptRefiner.cs Outdated Show resolved Hide resolved
src/Kiota.Builder/Refiners/TypeScriptRefiner.cs Outdated Show resolved Hide resolved
src/Kiota.Builder/Refiners/TypeScriptRefiner.cs Outdated Show resolved Hide resolved
@nikithauc nikithauc marked this pull request as draft May 16, 2022 19:30
baywet
baywet previously approved these changes Mar 29, 2023
@baywet baywet linked an issue Apr 5, 2023 that may be closed by this pull request
@baywet baywet removed this from the Backlog milestone Apr 14, 2023
@baywet
Copy link
Member

baywet commented Apr 14, 2023

@andrueastman @rkodev would you mind giving it a look just for sanity please?

baywet
baywet previously approved these changes Apr 14, 2023
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Copy link
Member

@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. Looks good to me.

@baywet baywet merged commit 2db1fcc into main Apr 25, 2023
@baywet baywet deleted the nikithauc/model-as-interfaces branch April 25, 2023 12:05
@sonarqubecloud
Copy link

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 0 Code Smells

80.0% 80.0% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generator Issues or improvements relater to generation capabilities. TypeScript Pull requests that update Javascript code
Projects
None yet
5 participants