enable blank Input schemas (for when no editableBy or insertableBy fields are defined)

This commit is contained in:
SachaG 2017-06-20 10:44:19 +09:00
parent 7a66e0f9a7
commit 59f4f6a8df

View file

@ -147,10 +147,10 @@ export const GraphQLSchema = {
graphQLSchema += `
input ${collectionName}Input {
${inputSchema.join('\n ')}
${inputSchema.length ? inputSchema.join('\n ') : '_blank: Boolean'}
}
input ${collectionName}Unset {
${unsetSchema.join('\n ')}
${inputSchema.length ? unsetSchema.join('\n ') : '_blank: Boolean'}
}
`