Can you only use directives with `Boolean!` variab...
# prisma-whats-new
e
Can you only use directives with
Boolean!
variables? Can’t you check if a
String!
is empty or not or do I have to to it like this? ->
Copy code
query ($offerId: String!, $offerIdExists: Boolean!) {
    offer(offerId: $offerId) @include(if: $offerIdExists) {
      id
    }
  }
a
Yes, those directives only work with booleans...