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

Add API v2 #377

Merged
merged 11 commits into from
Oct 23, 2023
Merged

Add API v2 #377

merged 11 commits into from
Oct 23, 2023

Conversation

jfreda
Copy link
Contributor

@jfreda jfreda commented Oct 20, 2023

This PR adds a new v2 of the API, which can be enabled via feature flag. This version of the API uses PostgreSQL data as the source of truth instead of Algolia. One other change of note is that the data consistency checks for Algolia/PostgreSQL now handle slices with elements in differing order.

New feature flag api_v2:

feature_flags {
  // api_v2 enables v2 of the API.
  flag "api_v2" {
    enabled = true
  }
}

@jfreda jfreda requested a review from a team as a code owner October 20, 2023 00:18
Copy link
Contributor

@anubhavmishra anubhavmishra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@jfreda jfreda merged commit d875bc7 into main Oct 23, 2023
2 checks passed
@jfreda jfreda deleted the jfreda/api-v2 branch October 23, 2023 17:45
@jfreda jfreda added the enhancement New feature or request label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants