is it possible to add `buyer_verticals` property d...
# prisma-whats-new
w
is it possible to add
buyer_verticals
property dynamically? (for example).
d
You can define a graphql variable in the query:
query($buyer_verticals:[String!]!) {
and then use it in the query body:
buyer_verticals: $buyer_verticals
exactly how you pass the variables with depend on the graphQL client you are using. For Apollo, you include a variables object in the query options
w
Thanks, it works for me.