We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b6e76c commit 95e2dbbCopy full SHA for 95e2dbb
1 file changed
core/src/main/kotlin/schema/Interfaces.kt
@@ -750,6 +750,15 @@ fun <T : Any> GraphQLMutableElementWithInterfaces<T>.implement(
750
interfaces += block()
751
}
752
753
+/**
754
+ * Add the given [interfaces].
755
+ */
756
+fun <T : Any> GraphQLMutableElementWithInterfaces<T>.implement(
757
+ vararg interfaces: GraphQLInterfaceType<in T>
758
+) {
759
+ this.interfaces += interfaces
760
+}
761
+
762
/* ============================================== */
763
/* ========| |======== */
764
/* ========| w/ Type Getter |======== */
0 commit comments