I am just learning Ballerina (I imagine we all are still at this point). I am trying to do this JSON Exercism exercise. There are probably other ways ...
I am just learning Ballerina (I imagine we all are still at this point). I am trying to do this JSON Exercism exercise. There are probably other ways ...
I'm trying to read a json file and cast it to a custom defined record type which has constraints defined for the values in it. The json file looks li ...
I have been trying to connect to a cluster in MongoDB Atlas using the mongodb:Client. I am not able to find any connection string that is supported by ...
Scenario: I have compiled package ".bala" files that the users create. These .bala files are pushed into a repository for my program to import from. ...
Ques. How can I create a record type dynamically? Is there any concept of reflection or eval in ballerina lang? e.g. ...
Problem: I have configured log.level in Config.toml as described in the release notes here. However, my log:printDebug(....) statements in the code a ...
Under the salesforce.bulk module, all the job/batch related methods are marked isolated except: closeJob and abortJob. Q. Why is that? Oversight? I c ...
I am using this mssql Ballerina package to connect to my Azure SQL database. Error: Code: ...
The latest released sfdc ballerinax package version on the repo is 7.2.0, while that on ballerina central is 3.0.1. Am I looking at this correctly? Ho ...
I am new in Ballerina, I try to print a log that containe some request informations like path .. and statusCode which is a response information. How c ...
I have a vendor who authenticates their posts to a web hook with an HMAC SHA256. When I attempt to validate that signature with Ballerina, I'm unable ...
How can I create workers dynamically and then wait for them to complete? The number of workers to create is determined at runtime. ...
string key = "a"; map<string> maps = { key: "b" }; Is there a way to add the value of the parameter for the key in the above instance? ma ...
I need to send a request like the one below. I am using Ballerina like below I get an error like the one below from the service. How can I ac ...
The following code generates the proceeding error, Error: But the same logic inside a do,on-fail does not cause the error. What Ballerina lan ...
In this case I have seen the official documentation of choreo, ballerina, but I could not find how to execute a query where I need to filter by the Ob ...
I want to send a post request using ballerina to get a access token from the Choreo Dev Portal. I am able to do it using postman. But unable to make i ...
My GraphQL service written in Ballerina 2201.1.1 (Swan Lake Update 1) looks something like below. And the types:ClaimFilter record is as follows. ...
I am trying to connect a PostgreSQL database using it. I have the following code: This doesn't compile and I get the following error: ERROR [ma ...
I am currently trying to get the execution time for a ballerina function. For that I need to get the timestamp before and after calling the function. ...