Abstract classes create interfaces

This commit is contained in:
Tobe O 2018-08-03 19:44:06 -04:00
parent a43893bde9
commit 5753319b92

View file

@ -71,6 +71,7 @@ GraphQLObjectType objectTypeFromClassMirror(ClassMirror mirror) {
return objectType( return objectType(
MirrorSystem.getName(mirror.simpleName), MirrorSystem.getName(mirror.simpleName),
fields: fields, fields: fields,
isInterface: mirror.isAbstract,
description: _getDescription(mirror.metadata), description: _getDescription(mirror.metadata),
); );
} }