Replies: 2 comments 2 replies
-
Hey, I'm interesting in learning more about batch with different kind of operations, can you share examples or docs for something like that? Until now I never thought batch could be different types of requests and I'm wondering how this might be used. Thanks |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think it is a matter of preference rather than a standard 🤔 P.S. Claude's description of "batch" seems like a better fit in this case. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there!
I've been working on a library that standardizes how a vue frontend works with an API. The first two drivers that will be supported are "indexedDB" and "Orion".
When working on the API, I discovered that the word "batch" tends to mean "many different kinds of operations in one request". In Orion, batch means "many operations of the same kind in one request". Does that make sense?
It's not a big deal, though may come back to bite this project if true "batch" operations are later added. For example, I can imagine Orion supporting an endpoint like this in the future:
Not the best example, but you get the idea!
So all I'm trying to point out, is that the example above is a "batch" request, and what Orion currently has implemented is a "bulk" request. Not a big deal and often devs use this language interchangeably, yet if "true batch" operations were later added, we'd have a naming problem.
By the way, I absolutely adore this package. For me, it's the by far the single most important Laravel package we use on every single project <3
Beta Was this translation helpful? Give feedback.
All reactions