This repository has been archived by the owner on Nov 8, 2021. It is now read-only.
3.4.0
Enhancements
- Added preliminary support for using query-based synchronized Realms. When opening such Realms, there several new GraphQL nodes added:
createXXXSubscription(query: String, sortBy: String, descending: Boolean, name: String)
: creates a Realm subscription for objects of typeXXX
that match the query. When working with query-based Realms, you need to first create Realm subscriptions to indicate which objects should be synchronized to the Realm. The response is a collection of objects that match the query. Once a subscription is created, it will be persisted and objects will be automatically synchronized until the subscription is removed. You can specify an optional name, that will allow you to later remove that subscription.queryBasedSubscriptions(name: String)
: returns a collection of active subscriptions.deleteQueryBasedSubscription(name: String!)
: removes a subscription by name.
Bug fixes
- Fixed a bug which would cause the following error message to be output when a class didn't have any properties:
Invalid options provided to ApolloServer: Syntax Error: Expected Name, found }
. Now such classes are ignored as they contain no meaningful information. realm-graphql#32