Skip to content

Commit

Permalink
add internal modifier to top level document object #13
Browse files Browse the repository at this point in the history
  • Loading branch information
yshrsmz committed Jan 24, 2019
1 parent 79aa1b0 commit b3dba8c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class DocumentWrapperGenerator(
logger("Generating $className...")

val objectType = TypeSpec.objectBuilder(className)
.addModifiers(KModifier.INTERNAL)

val fqName = "${sourceFile.packageName}.$className"

// add raw document property
Expand Down

0 comments on commit b3dba8c

Please sign in to comment.