Editorial question132.5K views4,887 votes0 answers3,061 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