Tag: ballerina
-
How to interpret Query, Mutation and Subscription operations in a Ballerina GraphQL service?
0 Most GraphQL libraries use the schema definition language(SDL) to define the types of a GraphQL service, like this: type Query { greeting: String! } type Mutation { setName(name: String!): String! } type Subscription { greetings: String! } In Ballerina, how do we define the schema, and where should we add these types? graphql ballerina…
-
How to generate the GraphQL client for a secured GraphQL API?
0 How can I generate the auth parameter using the bal graphql command? When I run bal graphql –help, I don’t see any options. Do I need to manually modify the generated code? I have generated the GraphQL client using the latest version of Ballerina and it creates a record named public type ConnectionConfig record.…
-
Generate GraphQL schema from Ballerina GraphQL API
0 Currently, I am trying out Ballerina support for GraphQL. Is it possible for me to get the generated GraphQL schema using Ballerina? graphql ballerina Share Improve this question Follow asked 24 mins ago Kavindu Gimhan ZoysaKavindu Gimhan Zoysa 12955 bronze badges WSO2 Employee 1 Answer 1 Sorted by: Reset to default Highest score (default)…