File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/kotlin/graphql/kickstart/tools Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ interface TypeDefinitionFactory {
12
12
*
13
13
* @return any new definitions that should be added
14
14
*/
15
- fun create (existing : List <Definition <* >>): List <Definition <* >>
15
+ fun create (existing : MutableList <Definition <* >>): List <Definition <* >>
16
16
}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import graphql.language.*
5
5
6
6
class RelayConnectionFactory : TypeDefinitionFactory {
7
7
8
- override fun create (existing : List <Definition <* >>): List <Definition <* >> {
8
+ override fun create (existing : MutableList <Definition <* >>): List <Definition <* >> {
9
9
val definitions = mutableListOf<Definition <* >>()
10
10
val definitionsByName = existing.filterIsInstance<TypeDefinition <* >>()
11
11
.associateBy { it.name }
You can’t perform that action at this time.
0 commit comments