i am new to graphql and i am having this issue and don't know how to solve it.
for example i have two tables: book and book_author;
book has book_id and name book_author has book_author_id, book_id, author_name
that two tables needs to be inserted values at a single request but the book_author table needs the book_id which from the book table it self with be generated.
can someone help me with this? help is much appreciated.
expected result is when calling post request or upon inserting.
for ex. the system generated book_id bk123, the book_id in the table book_author should be the same too.