Skip to content

Social SDK Linking: Select First Option #7619

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

markmandel
Copy link
Contributor

This updates two things:

  1. To the latest link mappings file for the Social SDK
  2. Implements a change in the link map generator such that the first matching signature is selected as the link rather than the last. This means that when methods are overloaded, the user is directed to the top of list (the first), rather than the bottom (the last).

Example:

With this update, documentation references https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a91716140c699d8ef0bdf6bfd7ee0ae13 rather than the current implementation, which references https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a302dda8b19408696fa186e739c5c24c8

This updates two things:
1. To the latest link mappings file for the Social SDK
2. Implements a change in the link map generator such that the first
matching signature is selected as the link rather than the last. This
means that when methods are overloaded, the user is directed to the top
of list (the first), rather than the bottom (the last).
@markmandel markmandel requested a review from a team as a code owner June 17, 2025 04:12
@markmandel markmandel requested review from colinloretz and removed request for a team June 17, 2025 04:12
@markmandel markmandel added the social-sdk Feedback and PRs on Social SDK label Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
social-sdk Feedback and PRs on Social SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant