Skip to content

Version 5 lost the auto detection of the variables types #394

@Nico924

Description

@Nico924

I am using grapql-zeus since a long time now but sticked to version 4 because with version 4 I was not obligated to put the variable type with the $ operator.
Now with version 5 I see that we have to put the variable type as well like this :
Zeus('query', { myFunc: [{ input: $('input','InputType!) }, outputModel ] })

With version 4 I was able to do :
Zeus('query', { myFunc: [{ input: $('input') }, outputModel ] })

And InputType! was automatically detected.

Is it intended ? Is there a workaround ?

Thank you in advance for you answer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions