James Clark
James Clark
Not clear if nil lifting for compound assignment is the right thing to do. For example, consider ``` m["x"] += 1; ``` where `m` has type `map` and `m["x"]` does...
Why is the type `map?` rather than just `map`?
There are two cases here: 1. field-access-expr or optional-field-access-expr on something laxly typed (i.e. something related to json) 2. `check` on a laxly typed expression in certain cases implicitly inserts...
@sanjiva This is my take on the requirement we discussed today.
We could have a `publisher` declaration and `Publisher` object type analogous to our current `listener` declaration and `Listener` object type. A `publisher` declaration would specify - identifier for the publisher...
Actually we probably need to split this into two declarations, just as we do with listener and service. We need separate publisher and topic/channel declarations. For each topic/channel declaration, the...
Key requirements. - it must be possible to implement an event producer in Ballerina in such a way that it is possible to generate an AsyncAPI description from the implementation...
This is an attempt at an approach with no new syntax. One point to note is that our sequence diagram view for functions recognizes client endpoints just from where the...
If you are creating events from a service, then allowing events to be generated from multiple threads would get a little bit painful, since you would need to say: ```...
Note that this now looks independent of #747. Whereas #747 is about using events to communicate between strands, this is about defining the network interactions of a program.