Skip to content
Discussion options

You must be logged in to vote

Edit the proto. Regenerate. Keep the resource map and the mirror tests level with the proto. The contract grows by addition only.

  1. A field: add the field in its service's file under proto/lessons/v2/, under a new number.

    • Never renumber, rename or retype a field.
    • Give the field a comment that says what it means and what v1 sent in its place (v1: Schema.field).
    • Mark a field that has to go as deprecated first. Remove it, with its number and name reserved, only once no client above the minimum version reads it.
  2. A method: add the method to its service with:

    • a google.api.http rule under /v2/…: standard verbs, or POST …:verb for anything else;
    • (lessons.v2.auth), and (lessons.v2.min_role) i…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:server for:contributor Whoever changes the code or the documents: setup, checks, where a change goes
1 participant