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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: display deprecation messages better #68

Merged
merged 1 commit into from
Jun 3, 2021

Conversation

alicejli
Copy link
Contributor

@alicejli alicejli commented Jun 2, 2021

@alexander-fenster @summer-ji-eng @JustinBeckwith for visibility

Problem: Generated client libraries did not display deprecation messages in a prominent location

Cause: Deprecated tags were being read by the details.tmpl which is referenced below several other tables in the methods.templ file.

Fix:

Added reading of deprecated tags directly into methods.templ file to be right below the description of the method/service.
Removed the deprecated tags being read in the details.tmpl file.

Fixes #67 馃

@alicejli alicejli requested a review from a team as a code owner June 2, 2021 20:00
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jun 2, 2021
@SurferJeffAtGoogle SurferJeffAtGoogle merged commit def7b82 into googleapis:master Jun 3, 2021
@alicejli alicejli deleted the dep branch June 3, 2021 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update template to display deprecation messages more prominently
2 participants