Skip to content
New issue

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

Remove .then() requirement for basic library, cache API configuration #1

Open
tadman opened this issue Jun 22, 2016 · 0 comments
Open
Assignees

Comments

@tadman
Copy link
Member

tadman commented Jun 22, 2016

The dynamic method for pulling down the API configuration should be optional. Right now it's a mandatory initialization step which slows down the first API call made on any connection.

Caching it in the NPM module itself as well as allowing an alternate definition to be used would help with performance. Switching to dynamic mode as an option would not be a bad thing as that will allow easy upgrading to new API specifications.

@tadman tadman self-assigned this Jun 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant