apostrophe-headless icon indicating copy to clipboard operation
apostrophe-headless copied to clipboard

retrieving the data of pieces which is joined to piace and that is joined to another piece

Open Electric-impala opened this issue 4 years ago • 1 comments

in apostrophe headless we can join a piece with other piece and this piece will have more other joins to other pieces which is already joined to piece.In this case the data of pieces in inner joins are shown only as Ids,how can we overcome that and get that datas of Ids shown

Electric-impala avatar Dec 09 '20 04:12 Electric-impala

Normally joins don't recurse into other joins to avoid infinite loops and overhead. However you should be able to do this with the withJoins: [ 'joinName'] feature when declaring the join.

Unfortunately we've had internal reports this feature may be having difficulty with the headless module so you may find that does not work yet.

On Tue, Dec 8, 2020 at 11:45 PM Electric-impala [email protected] wrote:

in apostrophe headless we can join a piece with other piece and this piece will have more other joins to other pieces which is already joined to piece.In this case the data of pieces in inner joins are shown only as Ids,how can we overcome that and get that datas of Ids sh

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apostrophecms/apostrophe-headless/issues/65, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAH27II4JPJ64O5PI7HHBTST36FRANCNFSM4US523PQ .

--

THOMAS BOUTELL | CHIEF TECHNOLOGY OFFICER APOSTROPHECMS | apostrophecms.com | he/him/his

boutell avatar Dec 09 '20 14:12 boutell