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

SerializersModule handling #2826

Closed
PhilNikS opened this issue Oct 8, 2024 · 1 comment
Closed

SerializersModule handling #2826

PhilNikS opened this issue Oct 8, 2024 · 1 comment
Labels

Comments

@PhilNikS
Copy link

PhilNikS commented Oct 8, 2024

In our project, we plan to generate models of serializable classes in a separate JAR file. For some classes, custom serialization is required, which is located in a separate module where we link interfaces with a specific serializer, as well as connect implementation classes with custom serialization. At the moment, this only works if the class requiring custom serialization does not have the @serializable annotation. However, this variation makes it more difficult to generate a JAR file with the classes, as some classes need to have the annotation while others do not. Is there a way in SerializersModule to replace the default serializer with a custom one?
Снимок экрана 2024-10-08 в 11 02 46
Снимок экрана 2024-10-08 в 10 40 06

@sandwwraith
Copy link
Member

See #507 and #2279 (comment). In short, we do not have currently plans for such a feature, as it contradicts framework design. However, it may be implemented in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants