Abstract classes create interfaces
This commit is contained in:
parent
a43893bde9
commit
5753319b92
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ GraphQLObjectType objectTypeFromClassMirror(ClassMirror mirror) {
|
|||
return objectType(
|
||||
MirrorSystem.getName(mirror.simpleName),
|
||||
fields: fields,
|
||||
isInterface: mirror.isAbstract,
|
||||
description: _getDescription(mirror.metadata),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue