realm / realm-object-server

Tracking of issues related to the Realm Object Server and other general issues not related to the specific SDK's
https://realm.io
293 stars 42 forks source link

Invalid default ApolloServer options for the /default query-sync realm #438

Open Eyesonly88 opened 4 years ago

Eyesonly88 commented 4 years ago

Goals

I just want to do a graphql mutation query on the default realm which is a query-sync realm (type reference). However, I can't do this using the realm-graphql-client.

I can, however, do this mutation query using Realm Studio GraphiQL. I can also do this on an older instance Finally, I also tried creating a new realm and making it a reference realm (using an older realm studio version) and got the same error.

Expected Results

The mutation query works as expected using the realm graphql client.

Actual Results

I get an http 500 error:

Invalid options provided to ApolloServer: Only 'manual' resync mode is supported for query-based sync.

Steps to Reproduce

Steps:

Version of Realm and Tooling