Skip to content

v1.0.0-alpha.7

Latest

Choose a tag to compare

@BoD BoD released this 14 Oct 10:26
· 15 commits to main since this release
2562bd0
  • Pagination API tweaks (#230)
    • Configuring connection fields with @typePolicy(connectionFields: "...") is deprecated. Instead, apply @connection to the connection types.
    • Configuring pagination arguments with @fieldPolicy(forField: "...", paginationArgs: "...") is deprecated. Instead, configure a FieldKeyGenerator on your cache.
    • The API of EmbeddedFieldsProvider has been tweaked to be called field by field, rather than by type.
  • @typePolicy and @fieldPolicy are now in the cache specification (#231)
    • After a deprecation period, they will be removed from the kotlin_labs specification. Here is how you should import these directives in your extra.graphqls:
      extend schema
      @link(url: "https://specs.apollo.dev/kotlin_labs/v0.5")
      @link(url: "https://specs.apollo.dev/cache/v0.3", import: ["@typePolicy", "@fieldPolicy"])