We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a low-priority tech-debut issue...
Currently when instantiating Dennis::Client it calls ApiaClient.load and this triggers http requests.
Dennis::Client
ApiaClient.load
This isn't a big deal for production usage but when unit testing, it's not ideal.
Either we need to change the way Dennis::Client initialization works, or we need to change how ApiaClient.load works.
Matt created a spike for lazy loading the schema for ApiaClient.load here: https://github.com/krystal/apia-ruby-client/pull/1/files
Relates to this PR: https://github.com/krystal/domains/pull/748
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is a low-priority tech-debut issue...
Currently when instantiating
Dennis::Client
it callsApiaClient.load
and this triggers http requests.This isn't a big deal for production usage but when unit testing, it's not ideal.
Either we need to change the way
Dennis::Client
initialization works, or we need to change howApiaClient.load
works.Matt created a spike for lazy loading the schema for
ApiaClient.load
here:https://github.com/krystal/apia-ruby-client/pull/1/files
Relates to this PR:
https://github.com/krystal/domains/pull/748
The text was updated successfully, but these errors were encountered: