-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Mark optional fields as nullable for Activity RP #7471
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
Conversation
docs/developer-tools/game-sdk.mdx
Outdated
| |----------|---------------|----------------------------------------------| | ||
| | match | string | null | unique hash for the given match context | | ||
| | join | string | null | unique hash for chat invites and Ask to Join | | ||
| | spectate | string | null | unique hash for Spectate button | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we use string? to denote a nullable string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually it's ?string
https://discord.com/developers/docs/reference#nullable-and-optional-resource-fields
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
advaith is always right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good call, made the fix here: 85d07ad
85d07ad to
bc136b2
Compare

No description provided.