- Issue created by @berdir
- 🇫🇷France Grimreaper France 🇫🇷
Hi,
Really nice work, a lot of what I need just works out of the box.
Thanks!
I don't know if this is something that should be put in Entity Share, maybe contrib. A stream wrapper selector.
Regarding your use case, to be generic, I also would have thought about a custom stream wrapper (maybe https://www.drupal.org/project/remote_stream_wrapper → ? But it may not handle private files).
So for Entity Share, you would only have to implement either a JSON:API Extras field enhancer if you want to change for all files JSON:API output from server side. Or an import processor plugin that will alter the JSON:data on client side before unserialization.
The import processor plugin may offer more flexibility depending on other business rules if needed.