Skip to content

Enhanced support for the @Deprecated annotation. #54

@x7airworker

Description

@x7airworker

Is your feature request related to a problem? Please describe.
Many applications evolve over time and this also means that Models are getting deprecated and aren't used anymore. By supporting this annotation we introduce a clear way for the engineer and ORM to handle this.

Describe the solution you'd like

  • The auto migrator should ignore the annotated models if the table doesn't exist already.
  • The ORM model should still be functional, if the table exists else the methods do nothing/return empty.

Describe alternatives you've considered
Check the annotation myself and don't make calls to the ORM methods.

Additional Context
The annotation has the RUNTIME RetentionPolicy and is therefore accessible at runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions