Refactor middleware structure
thebadmonkeydev opened this issue · 2 comments
thebadmonkeydev commented
The structure of the gem has been a concern for me for a while. It was mostly hacked together based on how StackShare needed it to work. I'd like to refactor so that less data flows so deeply into our objects and so that our abstraction is cleaner and more easily digested.
thebadmonkeydev commented
This is mostly on master (I've refactored from a middleware into a plugin which allows us to only deal with the raw resolver result instead of having to construct actual GQL objects. There's more refactor to come before 1.0.0 but that will be handled as smaller issues.
thebadmonkeydev commented
I was mistaken, these changes are still on a feature branch in PR. Linking issue there.