Refactor the ActiveContext Query Result class
Context
-
Add
self.success
andself.error
methodsFrom !208905 (comment 2829350875)
suggestion (non-blocking): This reminded me of the
ServiceResponse
class in terms of implementation goals. I reviewed it to see if there is any inspiration to take from that class. Specifically I think havingerror
andsuccess
methods might be helpful and I like the idea of adding support for logging/raising exceptions, but wanted to see what you think about it. -
[Optional] refactor how
success?
method is writtenSee discussion in !208905 (comment 2829350878)
Edited by 🤖 GitLab Bot 🤖