Hey guys. Have a question: ``` Me { whitelabelEn...
# prisma-whats-new
e
Hey guys. Have a question:
Copy code
Me {
  whitelabelEnabled: true/false
}
Whitelabel {
  option1: '1',
  options2: '2'
}
I want to request Whitelabel object only if
whitelabelEnabled
is true. One solution is:
Copy code
Me {
  whitelabelEnabled: true,
  whitelabel {
    option1,
    option2
  }
}
and in resolver
Copy code
Me {
   whitelabel(root) {
     if (root.whitelabelEnabled) return new Promise()
  }
}
Any other options?