Skip to content

Commit 03b6d2c

Browse files
committed
Update CHANGELOG.md
1 parent e0af20f commit 03b6d2c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ PUT_CHANGELOG_HERE
66
- Configuring connection fields with `@typePolicy(connectionFields: "...")` is deprecated. Instead, apply `@connection` to the connection types.
77
- Configuring pagination arguments with `@fieldPolicy(forField: "...", paginationArgs: "...")` is deprecated. Instead, configure a `FieldKeyGenerator` on your cache.
88
- The API of `EmbeddedFieldsProvider` has been tweaked to allow determining if fields should be embedded field by field, rather than all at once based on the type.
9+
- `@typePolicy` and `@fieldPolicy` are now in the `cache` specification (#231)
10+
- After a deprecation cycle, they will be removed from the `kotlin_labs` specification. Here is how you should import these directives in your `extra.graphqls`:
11+
```graphql
12+
extend schema
13+
@link(url: "https://specs.apollo.dev/kotlin_labs/v0.5")
14+
@link(url: "https://specs.apollo.dev/cache/v0.3", import: ["@typePolicy", "@fieldPolicy"])
15+
```
916

1017
# v1.0.0-alpha.6
1118
_2025-08-21_

0 commit comments

Comments
 (0)