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

refac(feat/models/get_env_flags): use environment_id instead of obj #1169

Merged
merged 1 commit into from Jun 1, 2022

Conversation

gagantrivedi
Copy link
Member

@gagantrivedi gagantrivedi commented Jun 1, 2022

Since get_environment_flags_list and get_environment_flags_queryset
don't get any advantage from environment being an object instead
of an int, this creates additional pressure on the caller to fetch
the environment object in order to call those functions

Since `get_environment_flags_list` and `get_environment_flags_queryset`
don't get any advantage from environment being an object and instead
of an int, this creates additional pressure on the caller to fetch
the environment project
@gagantrivedi gagantrivedi marked this pull request as ready for review June 1, 2022 04:34
@gagantrivedi gagantrivedi merged commit cdf7086 into main Jun 1, 2022
@gagantrivedi gagantrivedi deleted the refac/feat/model/use-id branch June 1, 2022 13:57
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.

None yet

2 participants