Streamed Resources
#50242
Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was taking a look at pull request #49873, and I identified a feature that would be very useful in the APIResources that already exist.
I generally do the following in my controllers:
And in some entities it may take time to start transmitting data to the user.
I believe it is plausible to add the StreamedResources functionality to the API Resources, especially in the static ::collection() function. I don't think it's a difficult addition.
What do you think of the idea? I can work on a sketch and maybe make a pull request if it's interesting.
Beta Was this translation helpful? Give feedback.
All reactions