Comment lines are not ignored
Closed this issue · 1 comments
guog commented
schema:
/// DEMO
model Some {
/// PK
id String @default(cuid()) @id
/// MARK
remark String?
}
output:
import { objectType, extendType } from 'nexus'
export const Some = objectType({
name: 'Some',
definition(t) {
t.model.///()
t.model.id()
t.model.///()
t.model.remark()
},
})
export const someQuery = extendType({
type: 'Query',
definition(t) {
t.crud.some()
t.crud.somes({ filtering: true, ordering: true })
},
})
export const someMutation = extendType({
type: 'Mutation',
definition(t) {
t.crud.createOneSome()
t.crud.updateOneSome()
t.crud.upsertOneSome()
t.crud.deleteOneSome()
t.crud.updateManySome()
t.crud.deleteManySome()
},
})
AhmedElywa commented
Hi @guog, Please update to v1.0.8 I just fixed this issue in this version.
Thank you