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 {
1212 *
1313 * @return any new definitions that should be added
1414 */
15- fun create (existing : List <Definition <* >>): List <Definition <* >>
15+ fun create (existing : MutableList <Definition <* >>): List <Definition <* >>
1616}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import graphql.language.*
55
66class RelayConnectionFactory : TypeDefinitionFactory {
77
8- override fun create (existing : List <Definition <* >>): List <Definition <* >> {
8+ override fun create (existing : MutableList <Definition <* >>): List <Definition <* >> {
99 val definitions = mutableListOf<Definition <* >>()
1010 val definitionsByName = existing.filterIsInstance<TypeDefinition <* >>()
1111 .associateBy { it.name }
You can’t perform that action at this time.
0 commit comments