You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The official graphql-js document refers that GraphQLNonNull is a class so if I want to use it I have to instantiate it and then pass a valid graphql type to it
But when I do that the IDE that I use (WebStorm) show me a warning about that:
Interface can not be instantiated
However, the warning disappears when I use it without instantiating it (without writing new keyword before it)