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

Generate helpers with deprecated annotations #397

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gfx
Copy link
Member

@gfx gfx commented Mar 25, 2017

From the beginning of Orma, it does not generates query helper methods for columns without indexed = true.

I believe this is one of the most useful inventions of Orma, but on the other hand, it is confusing for Orma beginners and there are few hints to generate these helpers.

Instead, with this PR Orma always generates helpers for all the columns, but add @Deprecated if a column is not indexed, meaning "you can use it but is not recommended".

@gfx gfx added this to the v6 milestone Oct 8, 2018
@gfx gfx removed this from the v6 milestone Oct 29, 2018
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

Successfully merging this pull request may close these issues.

1 participant