Change ACL to Non null (#6249)

This commit is contained in:
Antoine Cormouls
2019-12-02 05:46:06 +01:00
committed by Antonio Davi Macedo Coelho de Castro
parent 4435154cf9
commit 62459962dd
5 changed files with 73 additions and 207 deletions

View File

@@ -56,7 +56,7 @@ const transformOutputTypeToGraphQL = (
case 'Bytes':
return defaultGraphQLTypes.BYTES;
case 'ACL':
return defaultGraphQLTypes.ACL;
return new GraphQLNonNull(defaultGraphQLTypes.ACL);
default:
return undefined;
}