Better Responses
WinterBlox opened this issue · 0 comments
WinterBlox commented
At the moment, the way you access server responses after they've been parsed into global.response
is VERY hacky. For instance, lets say you did an auth request to the server for an account and then you want to get the message that the server sent back. You'd have to do: global.response.response.message
response.response?
As you can see, it's more cluttered than it should be. The idea is to make a sub variable that stores what global.response
stores now instead, and put the organized result in global.response
instead.