You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reduce incidence of customer mistakes with a clearer API to connect to the toolkit.
One solution: allow array of options to be passed to getInstance() and constructor (either as param or with fluent interface). This would let us provide examples of a connection that does all necessary to define the connection. Solve several problems, including:
◦ users forgetting to add a separate 'stateless'/'InternalKey' setOptions statement, causing various nightmares
◦ inability to specify in code that we want to use HTTP transport (currently we have to specify in toolkit.ini with URL); we need to know the connection type and URL at connection time, not later. (Alan, clarify this issue)
The text was updated successfully, but these errors were encountered:
alanseiden
changed the title
Improve connection code
Improve connection API
Jun 28, 2016
alanseiden
changed the title
Improve connection API
Improve connection API (where most user mistakes occur)
Jun 28, 2016
We will address this issue cleanly in toolkit 2.0. See #87.
Meanwhile, let us help people by creating more examples that illustrate proper connection techniques. See #71.
Reduce incidence of customer mistakes with a clearer API to connect to the toolkit.
One solution: allow array of options to be passed to getInstance() and constructor (either as param or with fluent interface). This would let us provide examples of a connection that does all necessary to define the connection. Solve several problems, including:
◦ users forgetting to add a separate 'stateless'/'InternalKey' setOptions statement, causing various nightmares
◦ inability to specify in code that we want to use HTTP transport (currently we have to specify in toolkit.ini with URL); we need to know the connection type and URL at connection time, not later. (Alan, clarify this issue)
The text was updated successfully, but these errors were encountered: