We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33b308c commit 0bc7bafCopy full SHA for 0bc7baf
src/main/kotlin/graphql/kickstart/tools/TypeDefinitionFactory.kt
@@ -12,5 +12,5 @@ interface TypeDefinitionFactory {
12
*
13
* @return any new definitions that should be added
14
*/
15
- fun create(existing: List<Definition<*>>): List<Definition<*>>
+ fun create(existing: MutableList<Definition<*>>): List<Definition<*>>
16
}
src/main/kotlin/graphql/kickstart/tools/relay/RelayConnectionFactory.kt
@@ -5,7 +5,7 @@ import graphql.language.*
5
6
class RelayConnectionFactory : TypeDefinitionFactory {
7
8
- override fun create(existing: List<Definition<*>>): List<Definition<*>> {
+ override fun create(existing: MutableList<Definition<*>>): List<Definition<*>> {
9
val definitions = mutableListOf<Definition<*>>()
10
val definitionsByName = existing.filterIsInstance<TypeDefinition<*>>()
11
.associateBy { it.name }
0 commit comments