storyblok / storyblok

Info about Storyblok
https://storyblok.atlassian.net/servicedesk
318 stars 32 forks source link

Add "resolve_relations" capabilities in custom field type objects #83

Closed Slackman2015 closed 4 years ago

Slackman2015 commented 5 years ago

The issue occurs while working with: (check one with "x")

I'm submitting a ... (check one with "x")

Current behavior:

Relations have to be resolved manually by fetching them with an additional call which can make a code more complicated and error prone causing longer development and debugging times. Expected behavior:

The code could be smaller, faster and easier to maintain if the "resolve_relations" parameter would be available in the plugins area too. Steps to reproduce:

Related code:

insert any relevant code here

Other information:

onefriendaday commented 4 years ago

Unfortunately this functionality can not be to the api at the moment. We recommend you to use the standard "Option" or "Multi-Option" field if you want to use resolve_relations.