mercurius-js / mercurius-federation

Build federated schema to be allow the service to be used in mercurius federation
10 stars 5 forks source link

Wrong TS types #15

Open hizo opened 1 year ago

hizo commented 1 year ago

Object literal may only specify known properties, and 'resolvers' does not exist in type 'MercuriusFederationOptions' Same for loaders.

Not sure why as it's built off of MercuriusOptions that join with MercuriusGatewayOptions | MercuriusSchemaOptions

Reproduction here https://codesandbox.io/s/vibrant-scott-wzs1bh

MatteoGranziera commented 1 year ago

@mcollina I think this issue was resolved with the update of mercurius dependency in this commit

Following the changes into mercurius repo, the issue was related to this commit at ./index.d.ts:475