You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, fetchStoryHtml uses a GET to fetch a story from Drupal.
For stories with a lot of props and slots values, the query string will become too long (see here).
We should convert the fetch request to a POST.
On the Drupal side, we can support both methods; if the fetch is a GET, we can retrieve the params from the query string; if it's a POST, we look in the request content.
The text was updated successfully, but these errors were encountered:
lussoluca
added a commit
to lussoluca/storybook-drupal-addon
that referenced
this issue
Jul 17, 2023
Currently,
fetchStoryHtml
uses a GET to fetch a story from Drupal.For stories with a lot of props and slots values, the query string will become too long (see here).
We should convert the fetch request to a POST.
On the Drupal side, we can support both methods; if the fetch is a GET, we can retrieve the params from the query string; if it's a POST, we look in the request content.
The text was updated successfully, but these errors were encountered: