Skip to content

Unnecessary state object generation #15

Description

@hurelhuyag

I just tried to generate PetClinic project again with latest xoom 1.5.3-SNAPSHOT version and I found this. In this example, PetEntity::register method constructing new PetState object and passing it to PetRegistered event and PetRegistered event object deconstructing it. Instead, PetEntity can just pass values directly to PetRegistered event.
Screenshot from 2021-03-26 10-37-17

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions