Editorial question132.5K views1,940 votes1 answer1 comment2,879 following
AI-generatedFunction remains accessible despite internal modifier when service binding allow pattern is permissive
When developing a Ballerina service, I want to guarantee that certain helper functions are not callable from outside the defining package, even if the service is bound to an HTTP listener with a permissive allow pattern. The language provides the private keyword for function‑level visibility and the internal modifier (since 2.2.0) for package‑level visibilit