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

Is the type of variables correct in NestedField? #51

Open
hjbolide opened this issue Oct 8, 2020 · 0 comments
Open

Is the type of variables correct in NestedField? #51

hjbolide opened this issue Oct 8, 2020 · 0 comments

Comments

@hjbolide
Copy link

hjbolide commented Oct 8, 2020

variables: IQueryBuilderOptions[];

Please refer to the above line, the type of variables in NestedField was set to IQueryBuilderOptions[], just wondering if that's correct at all?

If we look at it here:

test("generates query with variables nested in fields", () => {

The variables object inside nested field would certainly fail the type check IQueryBuilderOptions[].

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

1 participant