Skip to content

Use non-reflective APIs to inject converters - #14657

Closed
dsyer wants to merge 4 commits into
spring-projects:masterfrom
dsyer:converters
Closed

dsyer wants to merge 4 commits into
spring-projects:masterfrom
dsyer:converters

Conversation

@dsyer

@dsyer dsyer commented Oct 2, 2018 •

Copy link
Copy Markdown
Member

The @Qualifier APIs are a bit limited in Spring still, so we might
want to use this to pursue additional convenience methods before
merging. See SPR-8891.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue that has not yet been triaged. Contributions will not be accepted. label Oct 2, 2018
@dsyer
dsyer force-pushed the converters branch 2 times, most recently from 80af744 to 8c89826 Compare October 2, 2018 10:31
@wilkinsona

Copy link
Copy Markdown
Member

I share your dislike of having to force the factory method to initialise itself. Hopefully you'll get some traction on SPR-8891.

@philwebb

philwebb commented Oct 2, 2018

Copy link
Copy Markdown
Member

Looks like SPR-8891 might be in 5.1.1. I think we should hold off until that's in.

@philwebb philwebb added type: task A general task status: blocked An issue that's blocked on an external project change and removed status: waiting-for-triage An issue that has not yet been triaged. Contributions will not be accepted. labels Oct 2, 2018
@wilkinsona wilkinsona added this to the 2.1.x milestone Oct 10, 2018
@dsyer
dsyer force-pushed the converters branch 4 times, most recently from b3d4af6 to 0df7131 Compare October 11, 2018 08:09
Dave Syer added 4 commits October 14, 2018 10:11
The @qualifier APIs are a bit limited in Spring still, so we might
want to use this to pursue additional convenience methods before
merging.
SPR-8891 is still in flux. It might settle down so we don't need
the hack, but for now this is needed to make the factory method
for converter beans available in time to select them by qualifier.
@dsyer

dsyer commented Oct 14, 2018

Copy link
Copy Markdown
Member Author

Those 4 commits can be squashed together. SPR-8891 is now resolved and this looks like it works,

@wilkinsona wilkinsona removed the status: blocked An issue that's blocked on an external project change label Oct 14, 2018
@wilkinsona wilkinsona self-assigned this Oct 14, 2018
wilkinsona added a commit that referenced this pull request Oct 14, 2018
* gh-14657:
  Polish "Use non-reflective APIs to retrieve config prop binding converters"
  Use non-reflective APIs to retrieve config prop binding converters
@wilkinsona wilkinsona modified the milestones: 2.1.x, 2.1.0.RC1 Oct 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants