druxt / druxt.js

The Fully Decoupled Drupal Framework
MIT License
111 stars 20 forks source link

Add `getRelated` method. #71

Open Decipher opened 3 years ago

Decipher commented 3 years ago

Is your feature request related to a problem? Please describe. There's no simple way to load in all related entities in Druxt.

Describe the solution you'd like

Use the JSON:API related endpoints.

Describe alternatives you've considered N/A

Additional context https://demo-api.druxtjs.org/en/jsonapi/node/article/e4ced3c1-e14b-48f1-8c0a-c909e808de68/field_tags

Decipher commented 2 years ago

Above commits are incorrectly tagged :|

Decipher commented 2 years ago

@d34dman Have you implemented a similar method with your drupal-js-sdk?

d34dman commented 2 years ago

@Decipher not yet. And to be honest, didn't even plan this far yet.

Atm, am working on an architectural overhaul after some user feedback and difficulty in using the project. (Especially around state and session management).

Decipher commented 2 years ago

No stress, just wanted to make sure not to duplicate effort.