8000 Add possibility to use previous versions of rest api by yaggg · Pull Request #333 · timols/java-gitlab-api · GitHub
[go: up one dir, main page]

Skip to content

Add possibility to use previous versions of rest api#333

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

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

Conversation

@yaggg
Copy link
Contributor
@yaggg yaggg commented Dec 19, 2018

No description provided.

@timols
Copy link
Owner
timols commented Feb 14, 2019

@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
Copy link
Contributor Author
yaggg commented Feb 16, 2019

@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
Copy link
Owner
timols commented Feb 17, 2019

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

0