Skip to content
Select documentation version
Navigation

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
    }
  }
})
Reading time
1 min read
View as
Markdown
Contribute
Edit this page