Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add versioning #135

Closed
wants to merge 4 commits into from
Closed

[WIP] Add versioning #135

wants to merge 4 commits into from

Conversation

sidmutha
Copy link
Contributor

Issue: #126

@@ -216,6 +219,7 @@ message UpsertAccountRequest {
int64 elo_score = 7;
int32 current_tier = 8;
int32 game_membership_tier = 9;
string version = 10;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why would an account request need a version, this is only for the json data from the client

@@ -96,6 +101,11 @@ func (z *ZombieBattleground) UpdateAccount(ctx contract.Context, req *zb.UpsertA
}

func (z *ZombieBattleground) CreateAccount(ctx contract.Context, req *zb.UpsertAccountRequest) error {
v, err := getVersionedObject(req.Version)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why would an account request need a version, this is only for the json data from the client

@phoorichet
Copy link
Contributor

@sidmutha Can we close this PR in flavor of #137?

@sidmutha
Copy link
Contributor Author

Yes. Closing.

@sidmutha sidmutha closed this Sep 25, 2018
@sidmutha sidmutha deleted the add-versioning branch January 25, 2019 12:10
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.

3 participants