Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

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

Open
1 of 2 tasks
Eyesonly88 opened this issue Mar 29, 2020 · 0 comments
Open
1 of 2 tasks

Comments

@Eyesonly88
Copy link

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:

  • Create a new instance
  • Create schema for the /default realm which is a reference realm
  • Create a GraphQLConfig with isQueryBasedSync set to true
  • Try to do a mutation query (any query) using the configured client.

Version of Realm and Tooling

  • Realm Object Server Version: 3.28.4
  • Flavor:
    • Cloud
    • Self-hosted
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant