Skip to main content
Version: Next

Ignoring types and fields

@platformatic/sql-graphql allows to selectively ignore types and fields.

To ignore types:

app.register(require('@platformatic/sql-graphql'), {
ignore: {
category: true
}
})

To ignore individual fields:

app.register(require('@platformatic/sql-graphql'), {
ignore: {
category: {
name: true
}
}
})