Skip to content

Add possibility to use previous versions of rest api#333

Merged
timols merged 3 commits into
timols:masterfrom
yaggg:master
Mar 13, 2019
Merged

Add possibility to use previous versions of rest api#333
timols merged 3 commits into
timols:masterfrom
yaggg:master

Conversation

@yaggg

@yaggg yaggg commented Dec 19, 2018

Copy link
Copy Markdown
Contributor

No description provided.

@timols

timols commented Feb 14, 2019

Copy link
Copy Markdown
Owner

@yaggg thanks for submitting this! I think this is a good idea, but I wonder if this should instead be set on the instance (in the constructor, still final) instead of being mutable statically? What do you think? That way you could theoretically, if you wanted to, run multiple API versions within the same memory space.

@yaggg

yaggg commented Feb 16, 2019

Copy link
Copy Markdown
Contributor Author

@timols Sure, I strongly agree that final instance variable is much better than mutable static variable, do you think I should overload connect method for passing API version?

@timols

timols commented Feb 17, 2019

Copy link
Copy Markdown
Owner

Yep, I think that makes sense.

@timols timols merged commit f03eedf into timols:master Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants