spring-boot-graphql-query-example icon indicating copy to clipboard operation
spring-boot-graphql-query-example copied to clipboard

how to pass List data type to the graphql

Open Hackniu opened this issue 7 years ago • 0 comments

I watch the video on youtube and I have a question of pass special data type. for example, if there are two entities class inside the model, one is for Book like yours and another one is author. In the Book entity class, private List <author> authors. And in the author class, it contains: authorName, authorAge.... In this case, how should pass authors list into the graphql script?

Hackniu avatar Jan 23 '19 18:01 Hackniu