Request: Change appId and appVersion to be a protected variable.

edited June 16 in JavaScript
I need a way to set the appId after I create a new LoadBalancingClient (I am getting the API key from my server, then setting it after user login). Seems like there is no reasons that appId and appVersion should not be protected. This way I can interact with them from inherited classes.
class LoadBalancingClient { protected appId: string; protected appVersion;

Comments

  • vadimvadim ✭✭✭
    Setting appId after LoadBalancingClient class has been created is not currently supported .
    You can workaround this by setting appId field via client["appId"] = ...
  • I know it is not supported. That is why I am requesting support be added.
Sign In or Register to comment.