Skip to content

Conversation

@clauspruefer
Copy link
Owner

Pull Request

Description

Fix example03 by using copy.deepcopy.
One single static microesb.ClassMapper() call overwrites (global referenced) class_reference variable content. A copy.deepcopy call prevents this behaviour.

Related Issue

Closes #18.

Type of Change

  • Bug fix

Additional Notes

This also should fix x0-skeleton example01 https://github.com/WEBcodeX1/x0-skeleton/tree/main/example/01-forms-microesb.

@clauspruefer clauspruefer added this to the Release 1.2 milestone Aug 4, 2025
@clauspruefer clauspruefer self-assigned this Aug 4, 2025
@clauspruefer clauspruefer added the bug Something isn't working label Aug 4, 2025
@clauspruefer clauspruefer merged commit d11dadd into main Aug 4, 2025
8 checks passed
@clauspruefer clauspruefer deleted the fix-example03 branch August 4, 2025 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reusing ClassReference Must Be Deep-Copied

2 participants