Skip to content

Commit

Permalink
Merge pull request #259 from DimuthuMadushan/fix-test
Browse files Browse the repository at this point in the history
Fix GraphQL Tool Test Failures
  • Loading branch information
ThisaruGuruge committed Jan 22, 2024
2 parents bd56d5b + ae112fe commit 37731f1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ stdlibHttpVersion=2.10.4
stdlibWebsocketVersion=2.10.1

# Level 07
stdlibGraphqlVersion=1.10.0
stdlibGraphqlVersion=1.10.1-20231212-153200-1d9f8ff

# Ballerinax Observer
observeVersion=1.2.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
type Query {
hero(episode: Episode): Character!
reviews(episode: Episode! = ""): [Review]!
reviews(episode: Episode! = JEDI): [Review]!
characters(idList: [String!]!): [Character]!
human(id: String!): Human
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ type Query {
The episode
Default value of the `episode` is ""JEDI""
"""
episode: Episode! = ""
name: String! = ""
episode: Episode! = JEDI
name: String! = "Luke"
): [Review]!
"Returns characters by id, or null if character is not found"
characters(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ type Query {
greet(name: String!): String!
isLegal(age: Int!): Boolean!
quote: String!
quoteById(id: Int! = ""): String
quoteById(id: Int! = 0): String
weightInPounds(weightInKg: Float!): Float!
isHoliday(weekday: Weekday): Boolean!
getDay(isHoliday: Boolean!): [Weekday!]!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
type Query {
hero(episode: Episode): Character!
reviews(episode: Episode! = ""): [Review]!
reviews(episode: Episode! = JEDI): [Review]!
characters(idList: [String!]!): [Character]!
human(id: String!): Human
}
Expand Down

0 comments on commit 37731f1

Please sign in to comment.