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

refactor!: rename socials to connections #142

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

validcube
Copy link
Member

@validcube validcube commented Dec 17, 2023

I didn't update Qodana because I have no idea how to use it... well I do know how to use it but I ran into issue with performance

fix #106

Signed-off-by: validcube <pun.butrach@gmail.com>
@Ushie
Copy link
Member

Ushie commented Dec 17, 2023

This is a breaking change, meaning you can't push this change to /v2/

And seeing that it's not particularly a necessary change either, the PR may be better off closed in my opinion, the issue should be updated to target v3 milestone

@validcube validcube changed the title refactor: rename socials to connections refactor!: rename socials to connections Dec 17, 2023
@alexandreteles
Copy link
Member

In the config.py file what you would do is:

# API Versioning

api_versions: dict[str, list[str]] = {
    "old": ["compat"],
    "v2": [
        "announcements",
        "donations",
        "github",
        "info",
        "login",
        "ping",
        "socials",
        "manager",
    ],
    "v3": [
        "announcements",
        "donations",
        "github",
        "info",
        "login",
        "ping",
        "connections",
        "manager",
    ]
}

The API lacks a straightforward way to provide multiple versions of the same endpoint atm, I am working on that for the next feature pack.

@alexandreteles alexandreteles added modification Modification of an existing feature, for example refactor wip This issue relates to something that is still work in progress labels Jan 16, 2024
@alexandreteles alexandreteles linked an issue Jan 16, 2024 that may be closed by this pull request
@validcube
Copy link
Member Author

In the config.py file what you would do is:

# API Versioning

api_versions: dict[str, list[str]] = {
    "old": ["compat"],
    "v2": [
        "announcements",
        "donations",
        "github",
        "info",
        "login",
        "ping",
        "socials",
        "manager",
    ],
    "v3": [
        "announcements",
        "donations",
        "github",
        "info",
        "login",
        "ping",
        "connections",
        "manager",
    ]
}

The API lacks a straightforward way to provide multiple versions of the same endpoint atm, I am working on that for the next feature pack.

👍 Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modification Modification of an existing feature, for example refactor wip This issue relates to something that is still work in progress
Projects
Status: 🏗 In progress
Development

Successfully merging this pull request may close these issues.

feat: Rename socials to connections
4 participants