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

Fix bug with flipper-ui and postgres #2

Merged
merged 1 commit into from
Apr 28, 2023
Merged

Conversation

rgm
Copy link
Owner

@rgm rgm commented Apr 28, 2023

This matches us up properly when using flipper against the same Postgres store. Flipper uses plurals for gate names ("actors", "groups") and this project was pointed at singulars ("actor", "group").

Result of this mismatch:

  • If you enabled a feature via the repl, your feature would be on in the JVM but off in the flipper-ui.
  • If you enabled a feature via flipper-ui, your feature would look like it was on in the UI but off in the JVM.
  • Hijinks.

This matches us up properly when using flipper against the same Postgres
store. Flipper uses plurals for gate names ("actors", "groups") and this
project was pointed at singulars.

Result:
- if you enabled a feature via the repl, your feature would be on in the
  JVM but off in the flipper-ui.
- if you enabled a feature via flipper-ui, your feature would look like
  it was on in the UI but off in the JVM.
@rgm rgm merged commit 93e4396 into main Apr 28, 2023
@rgm rgm deleted the postgres-gates-plural-fix branch April 28, 2023 17:51
@rgm rgm restored the postgres-gates-plural-fix branch May 16, 2024 14:32
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