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

build error mongoDbFilter.ts #60

Open
code-is-art opened this issue May 13, 2020 · 1 comment
Open

build error mongoDbFilter.ts #60

code-is-art opened this issue May 13, 2020 · 1 comment

Comments

@code-is-art
Copy link

I'm trying to build it to test but get this message...

src/mongoDbFilter.ts:108:68 - error TS2345: Argument of type 'GraphQLObjectFilter | GraphQLLeafFilter' is not assignable to parameter of type 'GraphQLObjectFilter'.
Type 'GraphQLLeafFilter' is not assignable to type 'GraphQLObjectFilter'.
Types of property 'opr' are incompatible.
Type 'MongoDbLeafOperators' is not assignable to type '"exists" | "not_exists"'.
Type '"$eq"' is not assignable to type '"exists" | "not_exists"'.

108 const nestedFilter = parseMongoDbFilter(fieldType, fieldFilter, ...excludedFields);

@thardy
Copy link

thardy commented Jun 10, 2020

I'm seeing this as well. I'm not sure how the current master branch is building for anyone.

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