First-class resource config and service config #562
Labels
Area/Lang
Relates to the Ballerina language specification
incompatible
Resolving issue may not be backwards compatible
Currently resource config and service config are expressed using annotations. It would be better if at least some of these annotations were expressed in the language in a more first-class way. In most cases, the Listener type determines the possible resource and service config, but the use of annotations prevents the type system from describing this relationship.
It's also conceptually wrong: the config is data that is fundamental to the operation of the program and not the sort of thing that should require the use of an annotation. Service and resource config expresses many things that on the client side are not expressed via annotations.
This relates to #329, #559, #519.
The text was updated successfully, but these errors were encountered: