Skip to content

v1.0.1

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Sep 22:40
· 19 commits to refs/heads/main since this release
34981e3

What's Changed

⚠️ Configuration changes

  • When configuring Hot Chocolate, you must enable mutation conventions for replication to work. For example:
 // Configure the Hot Chocolate GraphQL server
 builder.Services
     .AddGraphQLServer()
      // Mutation conventions must be enabled for replication to work
     .AddMutationConventions()
     .AddReplication()
     .AddReplicatedDocument<Workspace>()
     .AddInMemorySubscriptions();
  • When adding replication, call .AddReplication() instead of .AddReplicationServer(). Please take a look at the example above.

🐛 Bug Fixes

  • fix: Do not override the library user's AddMutationConventions() configuration @rbeauchamp (#57)

📚 Documentation