-
Hi, I am building some custom clients that make use of functionality in your service classes. I have an abstract BaseClient which handles some common functionality, such as initializing the relevant service class and handling errors. In my BaseClient I would like to use The following is a very basic example of what I wish to accomplish:
This code currently works, but my following question is based on the warning from this
Question: Why does this module have a leading underscore? Do you foresee any breaking changes happening in this module, so that I cannot rely on it? Would you have any other suggested solutions to accomplish the same? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
This looks a lot like the experiments I've been playing with in the Caracara alpha source. With my goal being very similar... abstract things like error handling, rate limiting and individual endpoint query maximums. (Along with other cool conjoined functionality leveraging multiple endpoints.) Answering your questions in order:
|
Beta Was this translation helpful? Give feedback.
This looks a lot like the experiments I've been playing with in the Caracara alpha source. With my goal being very similar... abstract things like error handling, rate limiting and individual endpoint query maximums. (Along with other cool conjoined functionality leveraging multiple endpoints.)
Answering your questions in order: