This commit is contained in:
Aurelsicoko 2018-05-25 15:31:30 +02:00
parent 1f2a0e5b8b
commit 3805f3bc95

View File

@ -429,6 +429,7 @@ module.exports = {
// Convert our layer Model to the GraphQL DL.
const attributes = Object.keys(model.attributes)
.filter(attribute => model.attributes[attribute].private !== true)
.reduce((acc, attribute) => {
// Convert our type to the GraphQL type.
acc[attribute] = this.convertType(model.attributes[attribute]);