Join Slack
Powered by
Data shape question: what is the best way to add a...
# prisma-whats-new
b
brad.barnes
03/19/2017, 1:38 PM
Data shape question: what is the best way to add additional data to a relation? ex: Model1:{ Relation1:{ count:2, model2: id1}, Relation2... EDIT: I'm guessing the meta data feature would be the best way to go about this?
https://www.graph.cool/docs/faq/graphql-meta-information-for-relations-shu9xee3ou/
n
nilan
03/20/2017, 10:26 AM
@brad.barnes
yep, the meta model is a great approach in this case. If you have more thoughts on this, please add your voice here:
https://github.com/graphcool/feature-requests/issues/116
🙂
👍 1
Open in Slack
Previous
Next