Open
Description
I am not sure this is more suited for Spring-Boot or Spring Core, but I think it would be beneficial to allow resources to be defined as plain strings.
The idea of Resource is abstracting a resource, whether it comes from a file, an url, etc.. so why not plain text? That way we allow the user passing a file with "foobar" but also the content itself, which would be impossible now
Perhaps something like
my-resource-binded-property: "raw:file_content"
(where "raw" could be a keyword prefix like "classpath:", or "bare:" or "string:")