Skip to content

Active Record get_all Fix#327

Merged
jnunemaker merged 4 commits intomasterfrom
get_all_fix
Jan 7, 2018
Merged

Active Record get_all Fix#327
jnunemaker merged 4 commits intomasterfrom
get_all_fix

Conversation

@jnunemaker
Copy link
Copy Markdown
Collaborator

@jnunemaker jnunemaker commented Jan 6, 2018

Fixes the sequel and active record adapters to include even disabled features in get_all. The issue was using an inner join between feature and gate tables, which means features in the feature table but not in the gate table (because they were fully disabled) were not represented in get_all.

fixes #324

@jnunemaker jnunemaker added the bug label Jan 6, 2018
@jnunemaker jnunemaker self-assigned this Jan 6, 2018
@jnunemaker
Copy link
Copy Markdown
Collaborator Author

I think I should probably make this an adapter shared spec/test so we can catch this for all of them.

@jnunemaker
Copy link
Copy Markdown
Collaborator Author

The sequel adapter also has this problem. I'll move this to a shared test/spec for all adapters and then merge it.

@jnunemaker jnunemaker merged commit 5026e12 into master Jan 7, 2018
@jnunemaker jnunemaker deleted the get_all_fix branch January 7, 2018 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When preload_all is enabled, disabled features don't show up in the flipper-ui

1 participant