Skip to content

fix(config): use snake_case for fetch policy in json schema#4957

Merged
erka merged 1 commit into
v2from
rd/v2/fetch-policy-fetch
Oct 28, 2025
Merged

fix(config): use snake_case for fetch policy in json schema#4957
erka merged 1 commit into
v2from
rd/v2/fetch-policy-fetch

Conversation

@erka

@erka erka commented Oct 28, 2025

Copy link
Copy Markdown
Contributor

The existing Test_JSONSchema only validates against the default config,
which has empty remote="" so fetch_policy is never included in the output.
This meant the schema bug (fetchPolicy vs fetch_policy) went undetected.

The existing Test_JSONSchema only validates against the default config,
which has empty remote="" so fetch_policy is never included in the output.
This meant the schema bug (fetchPolicy vs fetch_policy) went undetected.

Signed-off-by: Roman Dmytrenko <[email protected]>
@erka
erka requested a review from a team as a code owner October 28, 2025 21:18
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Oct 28, 2025
@dosubot

dosubot Bot commented Oct 28, 2025

Copy link
Copy Markdown

Documentation Updates

Checked 4 published document(s). No updates required.

How did I do? Any feedback?  Join Discord

@codecov

codecov Bot commented Oct 28, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.29%. Comparing base (b9d7140) to head (a67715e).
⚠️ Report is 2 commits behind head on v2.

Additional details and impacted files
@@           Coverage Diff           @@
##               v2    #4957   +/-   ##
=======================================
  Coverage   60.29%   60.29%           
=======================================
  Files         136      136           
  Lines       13372    13372           
=======================================
  Hits         8062     8062           
  Misses       4629     4629           
  Partials      681      681           
Flag Coverage Δ
integrationtests 34.93% <ø> (ø)
unittests 51.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@markphelps markphelps left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nice

@erka
erka merged commit 571dd72 into v2 Oct 28, 2025
43 of 44 checks passed
@erka
erka deleted the rd/v2/fetch-policy-fetch branch October 28, 2025 23:24
@erka erka added the v2 Flipt v2 label Oct 29, 2025
markphelps added a commit that referenced this pull request Oct 29, 2025
* v2:
  fix(evaluation): extract environment fallback logic to helper method (#4959)
  fix(config): use snake_case for fetch policy in json schema (#4957)
  chore: prep for v2.3.0 release (#4956)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files. v2 Flipt v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants