Skip to content

Relaxed binding upper case / underscore issue #8828

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

Closed
qw3ry opened this issue Apr 6, 2017 · 1 comment
Closed

Relaxed binding upper case / underscore issue #8828

qw3ry opened this issue Apr 6, 2017 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@qw3ry
Copy link

qw3ry commented Apr 6, 2017

I have a variable called partnerID.
To have a consistent naming in the properties-file I'd like to use prefix.partner_id as property name.

From what I understand (according to the spring boot manual, section 24.7.2) this should work, even though I am using the underscore notation and additionally capitalize arbitrarily.

Other properties in the same file are bound as expexted. If I change prefix.partner_id to either prefix.partner_i_d or prefix.partnerID this works fine.
Therefore I'd expect partner_id to work as well.

I am using spring boot 1.5.2.RELEASE.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 6, 2017
@wilkinsona
Copy link
Member

This is working as (currently) designed. Please see #4910 and #5330 for further details.

@wilkinsona wilkinsona added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants