fixed slug required - it was not in Nitro

This commit is contained in:
Ulf Gebhardt 2019-05-29 16:41:27 +02:00
parent 67595f6400
commit 816fbdf7cd
No known key found for this signature in database
GPG Key ID: 44C888923CC8E7F3
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
type Category {
id: ID!
name: String!
slug: String!
slug: String
icon: String!
#createdAt: DateTime
#updatedAt: DateTime

View File

@ -11,7 +11,7 @@
},
[?] slug: {
[X] type: String,
[X] required: true,
[ ] required: true, // Not required in Nitro
[ ] unique: true // Unique value is not enforced in Nitro?
},
[?] icon: { // Nitro adds required: true