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

Change to stop crash on compile and run of example. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vernonr3
Copy link

Change line 15 in example/main.go to take the address of the structure. This was being caught on line 11 of checker.go where the value is checked to ensure it is a pointer. This make the example work again. Suspect that the rule validation was changed after the example was constructed.

Looks like a very useful ability for DDD. As the rules will enable fields in structs to be combined/changed etc. to map across bounded contexts.
Is this being used in live production environments?

Change line 15 in example/main.go to take the address of the structure. This was being caught on line 11 of checker.go where the value is checked to ensure it is a pointer.
This make the example work again. Suspect that the rule validation was changed after the example was constructed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant