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

"Additional Keys" instead of details is difficult for Java #75

Open
derekm opened this issue Jul 22, 2020 · 0 comments
Open

"Additional Keys" instead of details is difficult for Java #75

derekm opened this issue Jul 22, 2020 · 0 comments

Comments

@derekm
Copy link

derekm commented Jul 22, 2020

The "additional keys" concept is more difficult to implement in Java than the previous details field of component-details.

Java frameworks don't consistently allow unknown fields to appear in JSON objects without special configurations or overrides.

A free form details or data field of type Map<String, Object> is preferable in more statically typed languages like Java and strictly schema validating frameworks like Java has.

@derekm derekm changed the title "Additional Keys" instead of details in difficult for Java "Additional Keys" instead of details is difficult for Java Jul 22, 2020
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

1 participant