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

[Server Step 3.2] #54

Open
shardulpathak7 opened this issue May 12, 2020 · 1 comment
Open

[Server Step 3.2] #54

shardulpathak7 opened this issue May 12, 2020 · 1 comment

Comments

@shardulpathak7
Copy link

shardulpathak7 commented May 12, 2020

I got error as follows :

error TS2345: Argument of type 'ApolloServer' is not assignable to parameter of type 'ApolloServerBase'.
Types have separate declarations of a private property 'logger'.
12 const { query } = createTestClient(server);
when I changed code to as follows the test got run :
const server = new ApolloServer({ schema }) as any;

@Urigo
Copy link
Owner

Urigo commented May 15, 2020

@shapaaa I've just tried it myself with all the latest dependencies and it seem to work...

Can you try to run your code in codesandbox and reproduce the issue so I could see?

before that, also try to clone the repo from that particular step and see if there are any differences

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