Skip to content

Commit 7f43b4e

Browse files
committed
Removed nulls
Will have to figure out a good way to handle empty description/descriptionReason. But for now, just avoiding null is good enough.
1 parent 9492d53 commit 7f43b4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/se/uprise/graphql/types/GraphQLMetadata.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ package se.uprise.graphql.types
22

33
trait GraphQLMetadata {
44
def name: String
5-
def description: String = null
6-
def deprecationReason: String = null
5+
def description: String = ""
6+
def deprecationReason: String = ""
77
}

0 commit comments

Comments
 (0)