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 option to attributes #154

Open
careo opened this issue Dec 17, 2015 · 0 comments
Open

Add deprecated option to attributes #154

careo opened this issue Dec 17, 2015 · 0 comments

Comments

@careo
Copy link
Contributor

careo commented Dec 17, 2015

We need a way to mark a given attribute as "deprecated" so that we can at least expose that fact in the metadata.

For example:

attribute :audit_version, Integer, deprecated: true

Open questions are:

  • What else should we do with deprecated attributes?
  • Is simply saying deprecated: true sufficient here? Or do we need to make this even more structured?
    • If we want to make it more structured, then maybe we move it to a separate section in the DSL, similar to requires?

See praxis/praxis#268 for more.

@careo careo changed the title Add deprecation option to attributes Add deprecated option to attributes Dec 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant