Skip to content

Commit 604f679

Browse files
committed
implement toInternal by default
1 parent 34bc3d7 commit 604f679

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/graphql/schema/DataFetchingEnvironment.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ public interface DataFetchingEnvironment extends IntrospectionDataFetchingEnviro
281281
* @return an internal representation of the DataFetchingEnvironment
282282
*/
283283
@Internal
284-
Object toInternal();
284+
default Object toInternal() {
285+
throw new UnsupportedOperationException();
286+
}
285287

286288
}

0 commit comments

Comments
 (0)