Title: v5 Entity overhaul · Issue #1653 · DSharpPlus/DSharpPlus · GitHub
Open Graph Title: v5 Entity overhaul · Issue #1653 · DSharpPlus/DSharpPlus
X Title: v5 Entity overhaul · Issue #1653 · DSharpPlus/DSharpPlus
Description: Details All entities need to: be correct according to the api specification have correct nullability annotations Outbound REST or Gateway payloads also need to represent optionals and nullability corretly to discord. The public-facing en...
Open Graph Description: Details All entities need to: be correct according to the api specification have correct nullability annotations Outbound REST or Gateway payloads also need to represent optionals and nullability c...
X Description: Details All entities need to: be correct according to the api specification have correct nullability annotations Outbound REST or Gateway payloads also need to represent optionals and nullability c...
Opengraph URL: https://github.com/DSharpPlus/DSharpPlus/issues/1653
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"v5 Entity overhaul","articleBody":"# Details\r\nAll entities need to:\r\n1. be correct according to the api specification\r\n2. have correct nullability annotations\r\n\r\nOutbound REST or Gateway payloads also need to represent optionals and nullability corretly to discord. The public-facing entities will continue to combine optionality and nullability, and thus both states should be represented in C# as nullable. \r\n\r\n# Contribution\r\nThis is a bigger issue, but its complexity isn't very high. Please don't hesitate to create pull requests for a specific portion and reference this issue. Once the changes get integrated, I'll make sure to revise the list.\r\n\r\n\r\n# Entities\r\n\r\n- [x] DiscordApplication\r\n- [x] AuditLogs\r\n - [x] AuditLog\r\n - [x] AuditLogAction\r\n - [x] AuditLogActionChange\r\n - [x] AuditLogActionOptions\r\n- [x] AutoModeration\r\n - [x] DiscordAutoModerationAction\r\n - [x] DiscordAutoModerationActionExecution\r\n - [x] DiscordRuleActionMetadata\r\n - [x] DiscordAutoModerationRule\r\n - [x] DiscordRuleTriggerMetadata\r\n- [ ] Channel\r\n - [ ] DiscordChannel\r\n - [ ] DiscordDmChannel\r\n - [ ] DiscordFollowedChannel\r\n - [ ] DiscordStageInstance\r\n - [ ] DiscordThreadChannel\r\n - [ ] DiscordThreadChannelMember\r\n - [ ] DiscordThreadChannelMetadata\r\n - [ ] ThreadQueryResult\r\n - [ ] DiscordForumChannel\r\n - [ ] DiscordForumPostStarter\r\n - [ ] DiscordForumPostTag\r\n - [ ] DiscordOverwrite\r\n- [ ] Message\r\n - [x] DiscordMessage\r\n - [x] DiscordMentions\r\n - [x] DiscordAttatchment\r\n - [x] DiscordMessageActivity\r\n - [x] DiscordMessageApplication\r\n - [x] DiscordMessageInteraction\r\n - [x] DiscordMessageSticker\r\n - [x] DiscordMessageStickerPack\r\n - [ ] DiscordReaction\r\n - [ ] DiscordEmoji\r\n- [ ] Guild\r\n - [ ] DiscordGuild\r\n - [ ] DiscordBan\r\n - [ ] DiscordGuildEmbed\r\n - [ ] DiscordGuildEmoji\r\n - [ ] DiscordGuildMembershipScreening\r\n - [ ] DiscordGuildMembershipScreeningField\r\n - [ ] DiscordGuildPreview\r\n - [ ] DiscordGuildTemplate\r\n - [ ] DiscordGuildWelcomeScreen\r\n - [ ] DiscordGuildWelcomeScreenChannel\r\n - [ ] DiscordMember\r\n - [ ] DiscordRole\r\n - [ ] DiscordRoleTags\r\n - [ ] DiscordWidget\r\n - [ ] DiscordWidgetMember\r\n - [ ] DiscordWidgetSettings\r\n- [ ] Integration\r\n - [ ] DiscordIntegration\r\n - [ ] DiscordIntegrationAccount\r\n- [ ] Interaction\r\n - [ ] DiscordApplicationCommand\r\n - [ ] DiscordApplicationCommandOption\r\n - [ ] DiscordApplicationCommandOptionChoice\r\n - [ ] DiscordAutoCompleteChoice\r\n - [ ] DiscordSelectComponentOption\r\n - [ ] DiscordActionRowComponent\r\n - [ ] DiscordButtonComponent\r\n - [ ] DiscordComponent\r\n - [ ] DiscordComponentEmoji\r\n - [ ] DiscordLinkButtonComponent\r\n - [ ] TextInputComponent\r\n - [ ] DiscordApplicationCommandPermission\r\n - [ ] DiscordGuildApplicationCommandPermissions\r\n - [ ] DiscordInteraction\r\n - [ ] DiscordInteractionApplicationCommandCallbackData\r\n - [ ] DiscordInteractionData\r\n - [ ] DiscordInteractionDataOption\r\n - [ ] DiscordInteractionResolvedCollection\r\n- [ ] Invites\r\n - [ ] DiscordInvite\r\n - [ ] DiscordInviteChannel\r\n - [ ] DiscordInviteGuild\r\n - [ ] DiscordStageInvite\r\n- [ ] User\r\n - [ ] DiscordUser\r\n - [ ] DiscordActivity\r\n - [ ] DiscordPresence\r\n- [ ] DiscordVoiceRegion\r\n- [ ] DiscordVoiceState\r\n- [ ] DiscordWebhook\r\n- [ ] DiscordConnection\r\n- [ ] Transport\r\n - [ ] TransportActivity\r\n - [ ] TransportApplication\r\n - [ ] TransportGuild\r\n - [ ] TransportUser\r\n - [ ] TransportTeam\r\n - [ ] TransportMember\r\n- [ ] Gateway\r\n - [ ] GatewayHello\r\n - [ ] GatewayIdentify\r\n - [ ] GatewayInfo\r\n - [ ] GatewayPayload\r\n - [ ] GatewayRequestGuildMembers\r\n - [ ] ReadyPayload\r\n - [ ] ClientProperties\r\n- [ ] Rest\r\n - [ ] RestApplicationCommandCreatePayload\r\n - [ ] RestChannelCreatePayload\r\n - [ ] RestGuildCreatePayload\r\n - [ ] RestStickerCreatePayload\r\n - [ ] RestStickerModifyPayload\r\n - [ ] RestThreadCreatePayload\r\n - [ ] RestForumPostCreatePayload\r\n - [ ] RestUserDmCreatePayload\r\n - [ ] RestUserGroupDmCreatePayload\r\n - [ ] RestUserUpdateCurrentPayload\r\n - [ ] RestUserGuild\r\n - [ ] RestUserGuildListPayload\r\n - [ ] RestWebhookPayload\r\n - [ ] RestWebhookExecutePayload\r\n - [ ] RestWebhookMessageEditPayload\r\n- [ ] FollowedChannelAddPayload\r\n- [ ] StatusUpdate\r\n- [ ] VoiceStateUpdate\r\n\r\n# Notes\r\nYes i did take 20 minutes to c\u0026p those names","author":{"url":"https://github.com/Plerx2493","@type":"Person","name":"Plerx2493"},"datePublished":"2023-10-18T14:38:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1653/DSharpPlus/issues/1653"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a6c9aa88-017a-448f-7ccd-0f8b2c9c145b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9244:5F6C2:100260:1582CE:698E477E |
| html-safe-nonce | 3380277c8cf7159c78b786f487408393403a83fc484adceac83aa33814be8bba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjQ0OjVGNkMyOjEwMDI2MDoxNTgyQ0U6Njk4RTQ3N0UiLCJ2aXNpdG9yX2lkIjoiMTkwOTI1OTA1Mzg2MDUzODIzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 460b4bbabba1d2b79bd8173781ea360d7651906b652c00cb0bafaafc05b7253b |
| hovercard-subject-tag | issue:1949921936 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DSharpPlus/DSharpPlus/1653/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f103367dc21dee006ee27d2f1c24e666c59ebccd608676645133942e5270311d/DSharpPlus/DSharpPlus/issues/1653 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f103367dc21dee006ee27d2f1c24e666c59ebccd608676645133942e5270311d/DSharpPlus/DSharpPlus/issues/1653 |
| og:image:alt | Details All entities need to: be correct according to the api specification have correct nullability annotations Outbound REST or Gateway payloads also need to represent optionals and nullability c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Plerx2493 |
| hostname | github.com |
| expected-hostname | github.com |
| None | a5632af64f7fed7bff1d6a428d1aca1b94fa7a48f760de2d39d9b1effdbf0082 |
| turbo-cache-control | no-preview |
| go-import | github.com/DSharpPlus/DSharpPlus git https://github.com/DSharpPlus/DSharpPlus.git |
| octolytics-dimension-user_id | 36208721 |
| octolytics-dimension-user_login | DSharpPlus |
| octolytics-dimension-repository_id | 67243489 |
| octolytics-dimension-repository_nwo | DSharpPlus/DSharpPlus |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 67243489 |
| octolytics-dimension-repository_network_root_nwo | DSharpPlus/DSharpPlus |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3dda52e29a416820ced574e74040033b820613a2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width