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

Add deprecated key to more definitions #726

Conversation

rhysbrettbowen
Copy link

@rhysbrettbowen rhysbrettbowen commented Oct 16, 2020

fixes: #617

Before this PR

deprecated key is only on certain definitions (field, enum value and endpoint). Expanding so that it also exists on:

  • alias
  • union
  • enum
  • object
  • service

After this PR

==COMMIT_MSG==
Able to define more types as deprecated
==COMMIT_MSG==

Possible downsides?

  • need to update other packages to handle deprecation being passed through.
  • the of shorthand for building definitions will no longer compile.

@changelog-app
Copy link

changelog-app bot commented Oct 16, 2020

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Able to define more types as deprecated

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from iamdanfox October 16, 2020 15:57
@stale
Copy link

stale bot commented Nov 14, 2020

This PR has been automatically marked as stale because it has not been touched in the last 14 days. If you'd like to keep it open, please leave a comment or add the 'long-lived' label, otherwise it'll be closed in 7 days.

@stale stale bot added the stale label Nov 14, 2020
@stale stale bot closed this Nov 29, 2020
@mhgbrg
Copy link

mhgbrg commented Sep 21, 2022

@rhysbrettbowen Any reason why this was never merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecating an entire object
2 participants