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

Return already created classes from factory #27

Open
CasperWA opened this issue May 28, 2024 · 0 comments · May be fixed by #63
Open

Return already created classes from factory #27

CasperWA opened this issue May 28, 2024 · 0 comments · May be fixed by #63
Assignees
Labels
enhancement New feature or request priority/medium MEDIUM priority issue/PR

Comments

@CasperWA
Copy link
Collaborator

CasperWA commented May 28, 2024

If the given SOFT7EntityInstance class for a given entity has already been created from the create_entity() factory function, it should simply be returned (this is done by locating it in the generated_classes module). Most likely, one should retrieve the internal entity of an existing class and ensure it is indeed exactly equal to the given entity for the create_entity() call.

This is also true for the SOFT7 DataSource classes.

@CasperWA CasperWA added enhancement New feature or request priority/medium MEDIUM priority issue/PR labels May 28, 2024
@CasperWA CasperWA self-assigned this May 28, 2024
@CasperWA CasperWA changed the title Return already created SOFT7EntityInstance class from factory Return already created classes from factory Jul 11, 2024
@CasperWA CasperWA linked a pull request Sep 18, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority/medium MEDIUM priority issue/PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant