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

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

Description

@Eyesonly88

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions