-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add new feature - Inject URI on load #1144
Comments
I'm not sure to get your use case |
Suppose there is a file of 100 mb, we are using headless system using api plateform, we can not use inject on load because json size will become too big, there should be a way via instead of injecting file on entity we should inject URI of file, this way end client click on link and download file |
Can't you use flysystem (or other available providers)? |
I think provider does not matter in this case.. my point is when using api, we can not inject whole file ( because of size ), we should only inject URI of file |
Is the code you proposed above a working example? |
Ya it's working..we need to add corresponding services like inject on load |
So, can't you just use it? |
I am already using it in my project.. it was just suggestion for additional feature.. Because api demand is rising day by day..I can create PR if you are willing to merge |
Feel free to propose a PR. |
As modern apps are moving toward headless using API so there should be Inject URI on load like Inject file on load
here is code sample
and in Bundle extension
The text was updated successfully, but these errors were encountered: