-
Notifications
You must be signed in to change notification settings - Fork 38.2k
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
WritableResource doesn't have parity with Resource in @Value etc. [SPR-10656] #15284
Comments
Phil Webb commented Can you provide a small snippet of code to demonstrate what you mean? |
Dave Syer commented This would fail to bind to the environment property:
whereas this would succeed:
|
Phil Webb commented I think I have a fix for this but it changes the default behavior of |
Artem Bilan commented Some our projects have started to bump to this issue, too: spring-attic/spring-cloud-gcp#72 Wouldn't it be great to revise the fix? Thanks |
Bulk closing outdated, unresolved issues. Please, reopen if still relevant. |
This issue is still relevant with SF 6.0.0 snapshots. Can you please take a look? This is actually blocking for spring-projects/spring-batch#756. |
@benas are you specifically trying to inject an |
Thank you for your feedback, Juergen.
Yes, I used the same sample as in this comment with the latest SF 6.0 snapshots. To give a bit of context, my specific use case is in Batch (issue spring-projects/spring-batch#756) where a change from
I'm not sure if this is a regression or not, but the following snippet fails with a
Let me know if you need more details on this. Thank you upfront. |
Dave Syer opened SPR-10656 and commented
Users can (and often do) inject
Resource
instances using placeholders and pattern matching, but this doesn't work withWritableResource
. It might be an oversight?Affects: 4.0 M1
1 votes, 4 watchers
The text was updated successfully, but these errors were encountered: