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

Either "left", "right" #129

Open
aaiezza opened this issue Jan 25, 2019 · 2 comments
Open

Either "left", "right" #129

aaiezza opened this issue Jan 25, 2019 · 2 comments

Comments

@aaiezza
Copy link

aaiezza commented Jan 25, 2019

This is a great library and it is working as expected, however I would really love the option to alter how the Either is serialized.

Is it possible to use JsonUnwrapped on the left and right objects?

I just need to not have the "left" and "right" keys in a single valued‑array that I get in the response json.

Is there a way I can maybe modify the existing serializer in some kind of bean definition?

@danieldietrich
Copy link
Contributor

Is there a way I can maybe modify the existing serializer in some kind of bean definition?

My two cents: modifying existing behavior may break applications that rely on it...
However, a major release may contain breaking changes.

@b0c1
Copy link

b0c1 commented Jul 1, 2021

Is there a way I can maybe modify the existing serializer in some kind of bean definition?

My two cents: modifying existing behavior may break applications that rely on it...
However, a major release may contain breaking changes.

Not necessary... maybe it can be configurable with the property.

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

No branches or pull requests

3 participants