Skip to content

Commit 321e91e

Browse files
committed
pro-1.29.12
1 parent 22caeae commit 321e91e

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

CHANGELOG-pro.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66

77
### New Features
88

9+
# 1.29.12 (12 Sept 2025)
10+
11+
- `OperationStore`: also support `visibility_profile:` on lazy routes.
12+
13+
# 1.29.11 (12 Sept 2025)
14+
15+
- `OperationStore`: add `visibility_profile: ...` argument to `operation_store_sync` so that incoming operations are bound to the given profile.
16+
917
# 1.29.10 (3 Jun 2025)
1018

1119
- `@defer`, `@stream`: Include `"data"` in the payload, if there is any, even if there are `"errors"` #5365

guides/operation_store/getting_started.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,18 @@ mount lazy_routes.dashboard, at: "/graphql/dashboard"
9090
mount lazy_routes.operation_store_sync, at: "/graphql/sync"
9191
```
9292

93+
### With Visibility Profiles
94+
95+
You can apply a {% internal_link "visibility profile", "/authorization/visibility#visibility-profiles" %} to incoming operations by passing the profile name to `operation_store_sync`, for example:
96+
97+
```ruby
98+
mount MySchema.operation_store_sync(visibility_profile: :public_api), at: "/graphql/sync"
99+
# or:
100+
mount lazy_routes.operation_store_sync(visibility_profile: :public_api), at: "/graphql/sync"
101+
```
102+
103+
This will apply that profile to all newly-synced operations. (It doesn't affect operations that were already synced.)
104+
93105
## Update the Controller
94106

95107
Add `operation_id:` to your GraphQL context:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ea5f544ddad2a88d1813629567dbaa3c6e0a11408ddc0c31e0b2129bc599aa1af0b791b0307944d2d26689f58f611b8c0aaac14f85b7b5c9cd5c1b5938499a90
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fea66a1684747ef85ea4d086f292cbb605ca2f28b0a705b47ae68b6701bd97c9ef462451767cab04b70516ac38b8a55069775803abc5c9289633ed1b73e19144

0 commit comments

Comments
 (0)