You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Adopt spring-boot 2.x new and improved relaxed naming #331
Summary. Since spring-boot 2.0 relaxed name rules have become much more logical and well-defined which opens the door to us finally properly supporting this.
Adopting the rules will mean re-thinking how we index and lookup property names.
I imagine we wouldn't index things based on the keys in the metadata (which contain hyphens) but rather based on the 'canonical' value of the key (lower case, all special chars removed).
Lookups should also use the canonical key. This means revisiting every place in the code that calls a lookup operation
ensure that canonical key is passed rather than the data found in the yaml file
make sure that caller is capable of dealing with discrepancies between the returned metadata items and their own (non-canonicalized version) of the key.
I finally got round again to taking a look a this. I've started reading and trying to really understand some of the materials around the new binding mechanics. On the wiki:
Doesn't make sense to invest a lot effort in this. It works well enough. If bugs are raised for specific problems we should address them specificially.
Activity
kdvolder commentedon Dec 3, 2019
I finally got round again to taking a look a this. I've started reading and trying to really understand some of the materials around the new binding mechanics. On the wiki:
This has raised some questions for me. I've put these questions here:
spring-projects/spring-boot#17570
As that seemed to be an issue created specifically around providing assistance to implementing precise rules around the name binding.
I'm putting this issue back on hold for the time being as I don't think its a good idea to dive into this major refactoring until I got some answers.
kdvolder commentedon Mar 26, 2021
Doesn't make sense to invest a lot effort in this. It works well enough. If bugs are raised for specific problems we should address them specificially.