googlemaps / googlemaps/google-maps-services-js

Ability to provide token once at instantiation of the client

Open
#1,325 0 comments 1 reaction 0 assignees View on GitHub
triage me type: feature request
Dominant language
TypeScript
Stars
3.1k
Forks
654
Avg merge
3m
Merged PRs (30d)
4

Description

**Is your feature request related to a problem? Please describe.**
The new implementation took a step backwards when it required defining the token for every request made rather than the ability to define it once when instantiating the client. Can we bring that functionality back?

1. Bringing it back would make this packages API up to industry standards of instantiating the client and providing the token once.
2. Would eliminate the receptiveness in code that can be quite easy to miss

**Describe the solution you'd like**
Bring back the ability to provide the token at time of instantiating the client

**Describe alternatives you've considered**
If there is a solution for this already that is great. Just dont see it documented.

**Additional context**
Tiny nitpick, but I think would be a nice touch to bring back

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.