Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid using singleton pattern to hold data models #7187

Open
anuruddhal opened this issue Jul 4, 2018 · 0 comments
Open

Avoid using singleton pattern to hold data models #7187

anuruddhal opened this issue Jul 4, 2018 · 0 comments

Comments

@anuruddhal
Copy link
Member

Description:
Avoid using the singleton pattern to hold data models as it is an anti-pattern. Singleton pattern is used in https://github.com/ballerinax/docker/blob/master/src/main/java/org/ballerinax/docker/models/DockerContext.java

Suggested Labels:

Suggested Assignees:

Affected Product Version:
0.975.0

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

@anupama-pathirage anupama-pathirage transferred this issue from ballerina-platform/module-ballerina-docker Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants