Skip to content

Always convert scalar ID values to the method parameter type fix #367 #453

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

Merged
merged 4 commits into from
Nov 17, 2020
Merged

Always convert scalar ID values to the method parameter type fix #367 #453

merged 4 commits into from
Nov 17, 2020

Conversation

alexandreBaronZnk
Copy link
Contributor

Fixes #367

Checklist

  • Pull requests follows the contribution guide
  • New or modified functionality is covered by tests

Description

As describe in the comment of @Mrman (cf #367) , the problem is not limited to the java.lang type (resolved by #379 ).
Scalar value can be of many types (eg. String, Long, UUID) and if there is a ID value that must be pass to a method parameter, it must be convert by the Jackson object mapper to ensure that it will be well type.

Copy link
Member

@vojtapol vojtapol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's hope this is the final fix for all the scalar conversion issues! Thank you for the contribution.

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

Successfully merging this pull request may close these issues.

List of IDs is not resolved correctly
2 participants