Skip to content

First-minute UX: user is flooded with errors if they forget about adding @SerializabilityTrait #123

@PawelLipski

Description

@PawelLipski

That's what I've got while testing on Laguna project... I've activated ash plugin on the main module, and got like 100 errors of ......Response is used as Akka message but does not extend a trait annotated with org.virtuslab.ash.annotation.SerializabilityTrait. Passing an object of class NOT extending SerializabilityTrait as a message may cause Akka to fall back to Java serialization during runtime..

This is technically correct... but in fact I'd rather expect an error like there is no class annotated with @SerializabilityTrait on this module's classpath or sth like that, b/c that's the actual error to be addressed first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    nice to haveNot very strictly needed for ASH to be usableusabilityRelates to reduction of boilerplate etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions