-
Notifications
You must be signed in to change notification settings - Fork 78
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
Quest roles BE #1075
Quest roles BE #1075
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/metafam/the-game/6SRTFBh6rQuiPbMHRY49BbXKjJd3 |
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.
can you consolidate the migrations? From what I can see there should only be 3. You can test them locally via hasura migrate apply ...
@vidvidvid, have you run When you say it messes up |
Not yet, I'll do that and let you know how it works.
It builds a completely different structure, as if it didn't take into the consideration all of your migrations. |
@dysbulic
Does |
It is possible… Try running |
@dysbulic I had a missing query in the schema, |
Will look into it 👍 |
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.
You can have multiple lines in a given migration, both up and down
hasura/metadata/actions.graphql
Outdated
@@ -73,6 +73,7 @@ input CreateQuestInput { | |||
externalLink : String | |||
repetition : QuestRepetition_ActionEnum | |||
cooldown : Int | |||
roles_id : [uuid]! |
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.
let's make this camelcase for consistency
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.
roleIds
?
@alalonde I changed |
@alalonde so should i join the quest role migrations?
and
|
Just an FYI, no need this time :) |
feat: backend changes
35b5eb0
to
0836f91
Compare
Successfully undeployed the Preview of this Pull Request |
Overview
What features/fixes does this PR include?
Added
quest_roles
needed for #1034Added
basic
flag to determine which roles to display during onboarding and which to display when selecting roles for quests.(Excuse me for multiple migrations, some of which were unnecessary)
paired-with: @dan13ram