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

silly generator #1

Merged
merged 2 commits into from
Aug 12, 2023
Merged

silly generator #1

merged 2 commits into from
Aug 12, 2023

Conversation

akiraveliara
Copy link
Contributor

i maintain that this is not a good use-case for an actual source generator, moreso for a shell script or a little native tool like employed in DSharpPlus v6, but... here you go.

@OoLunar OoLunar self-assigned this Aug 12, 2023
@OoLunar OoLunar added the enhancement New feature or request label Aug 12, 2023
@OoLunar
Copy link
Owner

OoLunar commented Aug 12, 2023

Looks great to me! The failed tests were my fault. Thank you very much for your contribution <3

@OoLunar OoLunar merged commit e9823cc into OoLunar:master Aug 12, 2023
""";

// could extract this from HttpStatusCode
public static readonly string[] HttpStatuses =
Copy link
Owner

Choose a reason for hiding this comment

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

public static readonly string[] HttpStatuses = System.Enum.GetNames(typeof(System.Net.HttpStatusCode));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants