Allocation endpoint: Deprecate metaPatch
for metadata
#2042
Labels
area/user-experience
Pertaining to developers trying to use Agones, e.g. SDK, installation, etc
good first issue
These are great first issues. If you are looking for a place to start, start here!
help wanted
We would love help on these issues. Please come help us!
kind/cleanup
Refactoring code, fixing up documentation, etc
Milestone
Context:
https://github.com/googleforgames/agones/blob/release-1.13.0/proto/allocation/allocation.proto#L53
We have a concept disconnect currently between a
GameServerAllocation
and the Allocation Service, in that when passing labels or annotations on a GameServerAllocation it is done with ametadata
element, and the Allocation Service it is done with ametaPatch
.I've seen a few users get caught up by this (and we have docs for it now too).
I would advocate we deprecate (but keep the functionality) of
metaPatch
in the gRPC Allocation service proto and replace it withmetadata
to avoid a change in concept name all the way fromGameServerAllocation
➡️ Allocation EndpointProbably something like:
And then I believe we could handle the conversion of both in the converter library.
The text was updated successfully, but these errors were encountered: