Skip to content

Commit f56108c

Browse files
authored
SchemaTransforms: tweak the documentation (#6747)
1 parent 38f9d67 commit f56108c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libraries/apollo-compiler/src/main/kotlin/com/apollographql/apollo/compiler/ApolloCompilerPlugin.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ fun interface SchemaDocumentTransform {
107107
* Transforms the given schema document.
108108
*
109109
* [transform] is called before validation of the schema.
110+
*
111+
* @param schemaDocument a [GQLDocument] containing all the definitions (possibly from several files) passed as input to the compiler.
110112
*/
111113
fun transform(schemaDocument: GQLDocument): GQLDocument
112114
}
@@ -169,7 +171,7 @@ interface ApolloCompilerRegistry {
169171
/**
170172
* Registers an [OperationIdsGenerator].
171173
*
172-
* Use this function implement [persisted queries](https://www.apollographql.com/docs/kotlin/advanced/persisted-queries).
174+
* Use this function to implement [persisted queries](https://www.apollographql.com/docs/kotlin/advanced/persisted-queries).
173175
*/
174176
fun registerOperationIdsGenerator(generator: OperationIdsGenerator)
175177

0 commit comments

Comments
 (0)