Sameera Jayasoma

Results 50 comments of Sameera Jayasoma

Here is my proposal. Environment variables can be specified only in the: - TOML keys with [string](https://toml.io/en/v1.0.0#string) values. - string values in TOML Arrays ``` BalToolManagedFile.toml ------------------------ any.toml.key.with.string.value = "xxxx${FOO_BAR}xxxx"...

We also need a convenient way to specify environment variables when running `bal` commands. How about a `bal.env` file at the root of the package directory? `bal.env` should be added...

The current Diagnostic design in Ballerina is mainly based on the language server protocol design. https://github.com/ballerina-platform/ballerina-lang/blob/master/compiler/ballerina-tools-api/src/main/java/io/ballerina/tools/diagnostics/Diagnostic.java. The [location](https://github.com/ballerina-platform/ballerina-lang/blob/768020d96e494b9679716ebac4ff8c7feaaf165a/compiler/ballerina-tools-api/src/main/java/io/ballerina/tools/diagnostics/Location.java#L30) of a diagnostic is primarily described using a text range: https://github.com/ballerina-platform/ballerina-lang/blob/768020d96e494b9679716ebac4ff8c7feaaf165a/compiler/ballerina-tools-api/src/main/java/io/ballerina/tools/text/TextRange.java#L27. We...

We had an offline chat about this and decided to proceed with a Git-based approach. I believe This approach should work fine for Ballerina for the next few years. We...

Here is a well-written article that explains this use case. https://www.infoq.com/articles/microservices-inside-out/

I am unsure whether we should handle subscriptions at the Ballerina level. Typically, publishers publish messages to a broker, which are then dispatched to subscribers.

The `foo1()` will not work if `E` is `type E distinct error

This lang lib function gives the test framework to mock an object type. However, I believe that this is a low-level function that may not be exposed to test framework...

When compiling with a clean central cache, we are experiencing an OOM issue with the Ballerina compiler. This issue doesn’t occur during subsequent compilations. The root cause is that, in...

My recommendation is to expose this feature with a compiler option, as discussed. Let's mark it as experimental initially. ``` --optimize-dependency-compilation [EXPERIMENTAL] Enables memory-efficient compilation of package dependencies using separate...