-
Notifications
You must be signed in to change notification settings - Fork 6
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
[WIP] Add versioning #135
Conversation
@@ -216,6 +219,7 @@ message UpsertAccountRequest { | |||
int64 elo_score = 7; | |||
int32 current_tier = 8; | |||
int32 game_membership_tier = 9; | |||
string version = 10; |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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
Yes. Closing. |
Issue: #126