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

small refactor of names in the schema #49

Open
utunga opened this issue Mar 18, 2022 · 0 comments
Open

small refactor of names in the schema #49

utunga opened this issue Mar 18, 2022 · 0 comments
Assignees

Comments

@utunga
Copy link
Contributor

utunga commented Mar 18, 2022

Can we rename hashtagmeta to jsut hashtag per the following, pretty please

type HashtagVariant {
    id: ID!
    variant: String! @id @search(by: [exact, regexp])
    hashtag: Hashtag! @hasInverse(field: "hashtagVariants")
    skills: [Skill] @hasInverse(field: "hashtagVariants")
    requests: [Request] @hasInverse(field: "hashtagVariants")
}

type Hashtag {
    id: ID!
    name: String! @id @search(by: [exact, regexp])
    iconName: String
    blessed: Boolean @search
    blessedInt: Int
    hashtagVariants: [HashtagVariant] @hasInverse(field: "hashtag")
    skillCountAllTime: Int
    requestCountAllTime: Int
    skillCountLast24h: Int
    requestCountLast24h: Int
    skillCountLast1w: Int
    requestCountLast1w: Int
}

``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants