Closed paquettg closed 9 years ago
I like the idea since it makes it a lot easier to merge static data into nonstatic without keeping a reference to the static data on my own.
I'd prefer the first syntax. The second one looks a bit awkward for me. There you have to pass api objects arround. The first one is a single call to get everything ready. Nice and easy.
This has been implemented in the new version. Let me know what you think :)
I like it :)
Hey, I wanted to pose this question to anyone interested in chiming in. I am currently adding a feature to the 0.6.0 branch that allows developers to automatically load static data in response DTO. So, for example, if you make a call to the champion endpoint you will get a response similar to
The static data is already loaded into the response. The question is how should the programmer be able to activate this feature? At the moment I have 2 ideas on how to implement this (they can both be implemented, they are not mutually exclusive) you can do one of the following.
or
Which one do you prefer? Do you have another idea on how this would be better implemented? Any feedback is welcome.