Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong TS types #15

Open
hizo opened this issue Feb 7, 2023 · 1 comment
Open

Wrong TS types #15

hizo opened this issue Feb 7, 2023 · 1 comment

Comments

@hizo
Copy link

hizo commented Feb 7, 2023

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
Copy link
Contributor

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants