Skip to content

Commit

Permalink
Merge pull request #589 from vtex-apps/feature/fallback-to-private-scope
Browse files Browse the repository at this point in the history
Switching fallback to scope: private on GraphQL queries
  • Loading branch information
lucis authored Dec 3, 2020
2 parents f86e9cb + 3d7067e commit 802e180
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Fallbacking to `scope: private` on GraphQL queries whenever we miss the queries's map cache.

## [8.126.2] - 2020-12-02 [YANKED]
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"vendor": "vtex",
"name": "render-runtime",
"version": "8.126.2",
"version": "8.126.3-beta.0",
"title": "VTEX Render runtime",
"description": "The VTEX Render framework runtime",
"builders": {
Expand Down
2 changes: 1 addition & 1 deletion react/utils/client/links/uriSwitchLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const extractHints = (query: ASTNode, meta: CacheHints) => {

const {
maxAge = 'long',
scope = 'public',
scope = 'private',
version = 1,
provider,
sender,
Expand Down

0 comments on commit 802e180

Please sign in to comment.