Skip to content

Commit

Permalink
Question position string update (#376)
Browse files Browse the repository at this point in the history
* feat(question-position): updated to string and use parseInt for comparisons

* chore(prisma): generated migration for db changes

* fix(position): added missing parseInts
  • Loading branch information
kadey001 authored Dec 6, 2022
1 parent d5a3e05 commit 4cb582b
Show file tree
Hide file tree
Showing 35 changed files with 170 additions and 130 deletions.
6 changes: 3 additions & 3 deletions app/client/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ type Event implements Node {
"""
The question currently being asked, corresponds to a "position" value on the event question
"""
currentQuestion: Int
currentQuestion: String
description: String

"""The planned end date time string"""
Expand Down Expand Up @@ -369,7 +369,7 @@ type EventQuestion implements Node {

"""Find the count of the likes only"""
likedByCount: Int
position: Int
position: String!

"""The actual content of the question"""
question: String
Expand Down Expand Up @@ -766,7 +766,7 @@ input UpdatePasswordForm {

input UpdateQuestionPosition {
eventId: ID!
position: Int!
position: String!
questionId: ID!
}

Expand Down
4 changes: 2 additions & 2 deletions app/client/src/__generated__/DeleteButtonFragment.graphql.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions app/client/src/__generated__/QuestionQueueMutation.graphql.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions app/client/src/__generated__/QueueButtonFragment.graphql.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4cb582b

Please sign in to comment.