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

Refactor properties_to_Q to not be tied to Filter objects #2890

Merged
merged 3 commits into from
Jan 8, 2021

Conversation

macobo
Copy link
Contributor

@macobo macobo commented Jan 8, 2021

This way we can pass other kinds of property lists in there.

  1. This is needed for session filters (due to different kinds of
    property filters)
  2. It makes the postgres codebase more consistent with ee which does a
    similar thing.

No behavioral changes - pure code change. Splitting this out to keep main PR (more) managable + to run CI.

Checklist

  • All querysets/queries filter by Organization, by Team, and by User
  • Django backend tests
  • Jest frontend tests
  • Cypress end-to-end tests

This way we can pass other kinds of property lists in there.

1) This is needed for session filters (due to different kinds of
property filters)
2) It makes the postgres codebase more consistent with ee which does a
similar thing.
@macobo macobo requested a review from EDsCODE January 8, 2021 09:44
@timgl timgl temporarily deployed to posthog-properties-to-q-jjxxoe January 8, 2021 09:46 Inactive
@timgl timgl had a problem deploying to posthog-properties-to-q-vfg5cd January 8, 2021 10:22 Failure
@macobo macobo temporarily deployed to posthog-properties-to-q-vfg5cd January 8, 2021 10:25 Inactive
@timgl timgl temporarily deployed to posthog-properties-to-q-dtovsz January 8, 2021 10:33 Inactive
@macobo macobo temporarily deployed to posthog-properties-to-q-dtovsz January 8, 2021 10:39 Inactive
@macobo macobo merged commit 730206b into master Jan 8, 2021
@macobo macobo deleted the properties_to_Q branch January 8, 2021 11:11
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