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

Hoist field should work with primitive types #262

Closed
nicolaferraro opened this issue May 10, 2021 · 2 comments
Closed

Hoist field should work with primitive types #262

nicolaferraro opened this issue May 10, 2021 · 2 comments
Assignees

Comments

@nicolaferraro
Copy link
Member

I imagine it would be used sometimes to create a structure from plain data, such as a string. So it should not require a JsonNode, but it should work as well with primitive data as well (strings, booleans, numbers, ...).

@oscerd
Copy link
Contributor

oscerd commented May 10, 2021

If you pass any kind of data it will work even with primitive types. Because it won't unmarshall in case of non json payload

@oscerd oscerd self-assigned this May 10, 2021
@nicolaferraro
Copy link
Member Author

won't

Right, I've seen you already fixed it in last commit.

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

2 participants