Skip to content

Commit 8f335b3

Browse files
authored
Merge pull request graphql-java#1785 from sp00m/fix-mkkey
Make PropertyDataFetcherHelpder#mkKey rely on Class#getName instead of Class#getCanonicalName
2 parents 5b511b8 + a2dbaef commit 8f335b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/graphql/schema/PropertyDataFetcherHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ private static String mkKey(Object object, String propertyName) {
252252
}
253253

254254
private static String mkKey(Class<?> clazz, String propertyName) {
255-
return clazz.getCanonicalName() + "__" + propertyName;
255+
return clazz.getName() + "__" + propertyName;
256256
}
257257

258258
// by not filling out the stack trace, we gain speed when using the exception as flow control

0 commit comments

Comments
 (0)