directive @create(
# By default, the model will be calculated from the name
# of the returned "type" with the prefix 'App/Model/'
model: String) on FIELD_DEFINITION
Use the @create directive only to create one new model
Example
input CreatePostInput {
name: String!
text: String
}
type Mutation {
createPost(input: CreatePostInput!): Post @create
}