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

feat(csharp): add performances playground #2644

Merged
merged 19 commits into from
Feb 7, 2024
Merged

Conversation

morganleroi
Copy link
Contributor

@morganleroi morganleroi commented Jan 31, 2024

🧭 What and Why

This PR adds a Performance project in the Playground. This performance test helps us finding bugs fetching real-world data. That's why a lot of tiny changes are included in this PR.

🎟 JIRA Ticket: DI-1717

Copy link

netlify bot commented Jan 31, 2024

Deploy Preview for api-clients-automation ready!

Name Link
🔨 Latest commit a48fad7
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/65c397b468a1eb00087c464d
😎 Deploy Preview https://deploy-preview-2644--api-clients-automation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@algolia-bot
Copy link
Collaborator

algolia-bot commented Jan 31, 2024

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

@morganleroi morganleroi force-pushed the feat/csharp-performances branch from 5cb3d2a to 9086f9e Compare January 31, 2024 13:58
@morganleroi morganleroi self-assigned this Feb 6, 2024
@morganleroi morganleroi marked this pull request as ready for review February 6, 2024 16:06
@morganleroi morganleroi requested a review from a team as a code owner February 6, 2024 16:06
@morganleroi morganleroi requested review from damcou and millotp February 6, 2024 16:06
}

return new UriBuilder { Scheme = "https", Host = url, Path = path }.Uri;
return new UriBuilder { Scheme = host.Scheme.ToString(), Host = host.Url, Port = host.Port, Path = path }.Uri;
Copy link
Collaborator

Choose a reason for hiding this comment

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

is the port always defined ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

if it's -1 maybe it shouldn't be passed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. Done

Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

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

nice cleanup !

}

return new UriBuilder { Scheme = "https", Host = url, Path = path }.Uri;
return new UriBuilder { Scheme = host.Scheme.ToString(), Host = host.Url, Port = host.Port, Path = path }.Uri;
Copy link
Collaborator

Choose a reason for hiding this comment

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

if it's -1 maybe it shouldn't be passed

playground/csharp/Performaces/Data/searchResult.json Outdated Show resolved Hide resolved
templates/csharp/modelOneOf.mustache Outdated Show resolved Hide resolved
templates/csharp/tests/requests/requests.mustache Outdated Show resolved Hide resolved
@morganleroi morganleroi requested review from millotp and Fluf22 February 6, 2024 20:17
Copy link
Collaborator

Choose a reason for hiding this comment

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

typo here too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

\Fixed !

@morganleroi morganleroi requested a review from millotp February 7, 2024 11:01
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Performaces</RootNamespace>
Copy link
Contributor

@Fluf22 Fluf22 Feb 7, 2024

Choose a reason for hiding this comment

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

Still a typo 😄

Suggested change
<RootNamespace>Performaces</RootNamespace>
<RootNamespace>Performances</RootNamespace>

Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

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

in the CI we trust

Copy link
Contributor

@Fluf22 Fluf22 left a comment

Choose a reason for hiding this comment

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

🆗

@morganleroi morganleroi enabled auto-merge (squash) February 7, 2024 14:56
@morganleroi morganleroi merged commit 832e86a into main Feb 7, 2024
26 checks passed
@morganleroi morganleroi deleted the feat/csharp-performances branch February 7, 2024 14:58
Sign up for free to 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.

4 participants