Open ThisaruGuruge opened 1 year ago
@ThisaruGuruge The client generation for schema with interfaces is not supported in this version. Since the starwars
example included the interface type Character
, client generation is failed. There are lot of scenarios that was not handled by the current tool implementation such as https://github.com/ballerina-platform/ballerina-library/issues/6446. This version is support only for the basic scenarios. Created an issue(https://github.com/ballerina-platform/ballerina-library/issues/6383) to track this.
Let's keep the issue in the backlog for now. We can prioritize the issues later.
Description: Tried to generate a client for a Ballerina GraphQL sample and it resulted in an NPE.
Steps to reproduce:
Checkout the GraphQL Star Wars example and run it.
Use the following query file:
Use the following
graphql.config.yaml
file:This will throw the following error: