{"id":19958551,"url":"https://github.com/badeend/enumclass","last_synced_at":"2025-07-06T20:32:42.415Z","repository":{"id":241388763,"uuid":"806165343","full_name":"badeend/EnumClass","owner":"badeend","description":"Enums with payloads. Or for the fancy pants: discriminated unions for C# with compile-time exhaustiveness checking, implemented using closed type hierarchies.","archived":false,"fork":false,"pushed_at":"2024-06-01T13:58:33.000Z","size":138,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T00:52:20.739Z","etag":null,"topics":["analyzer","csharp","discriminated-unions","exhaustiveness-checking"],"latest_commit_sha":null,"homepage":"https://badeend.github.io/EnumClass/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/badeend.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"badeend"}},"created_at":"2024-05-26T15:00:00.000Z","updated_at":"2024-12-25T09:19:33.000Z","dependencies_parsed_at":"2024-06-01T14:55:24.187Z","dependency_job_id":"1d9a0d12-5ce6-41f3-a407-29843674e7c6","html_url":"https://github.com/badeend/EnumClass","commit_stats":null,"previous_names":["badeend/enumclass"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badeend%2FEnumClass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badeend%2FEnumClass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badeend%2FEnumClass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badeend%2FEnumClass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badeend","download_url":"https://codeload.github.com/badeend/EnumClass/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241389166,"owners_count":19955107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analyzer","csharp","discriminated-unions","exhaustiveness-checking"],"created_at":"2024-11-13T01:43:35.448Z","updated_at":"2025-03-01T16:15:36.865Z","avatar_url":"https://github.com/badeend.png","language":"C#","funding_links":["https://github.com/sponsors/badeend"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./docs/images/logo.png\" alt=\"EnumClass\" width=\"300\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cem\u003eEnums with payloads\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.nuget.org/packages/Badeend.EnumClass\"\u003e\u003cimg src=\"https://img.shields.io/nuget/v/Badeend.EnumClass\" alt=\"Nuget\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nThis is an analyzer-only package that aims to provide a dead simple, yet complete, \"discriminated unions\" experience for C# with compile-time exhaustiveness checking.\n\n**More information on the project website: https://badeend.github.io/EnumClass/**\n\n---\n\n### Shameless self-promotion\n\nMay I interest you in one of my other packages?\n\n- **[Badeend.ValueCollections](https://badeend.github.io/ValueCollections/)**: _Low overhead immutable collection types with structural equality._\n- **[Badeend.EnumClass](https://badeend.github.io/EnumClass/)**: _Discriminated unions for C# with exhaustiveness checking._\n- **[Badeend.Result](https://badeend.github.io/Result/)**: _For failures that are not exceptional: `Result\u003cT,E\u003e` for C#._\n- **[Badeend.Any](https://badeend.github.io/Any/)**: _Holds any value of any type, without boxing small structs (up to 8 bytes)._\n- **[Badeend.Nothing](https://github.com/badeend/Nothing)**: _If you want to use `void` as a type parameter, but C# won't let you._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadeend%2Fenumclass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadeend%2Fenumclass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadeend%2Fenumclass/lists"}