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

Remove Article -> ArticleVersion delegates #91

Open
lentschi opened this issue Aug 2, 2024 · 0 comments
Open

Remove Article -> ArticleVersion delegates #91

lentschi opened this issue Aug 2, 2024 · 0 comments

Comments

@lentschi
Copy link
Contributor

lentschi commented Aug 2, 2024

As soon as all callers refer directly to article_version for their fields, remove those delegates:

# TODO-article-version: Discuss if these delegates aren't actually a code smell:

For example instead of calling article.name we should be calling article.latest_article_version.name.
Finding all those calls in an untyped language might be quite some effort though.

@lentschi lentschi added this to the Post-merge milestone Aug 2, 2024
@lentschi lentschi changed the title Remove article -> article_version delegates Remove Article -> ArticleVersion delegates Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant