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

Use the configured valueMapperFactory at JsonDefaultValueProvider #408

Open
TuomasKiviaho opened this issue Aug 27, 2021 · 0 comments
Open

Comments

@TuomasKiviaho
Copy link

The JsonDefaultValueProvider uses Defaults::valueMapperFactory instead of the provided valueMapperFactory.

Would it possible to provide the valueMapperFactory to AnnotatedArgumentBuilder via ArgumentBuilderParams (via ResolverBuilderParams via OperationRegistry) so that one could have an alternative default value provider constructor that would receive both the value mapper factory and the currently receiver global environment. That way one could utilize the proper value mapper based on the type.

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