Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Enhance ResourceHandlerRegistration API for resource transformers/resolvers [SPR-11982] #16598
Provide methods on ResourceHandlerRegistration in order to help configuring ResourceTransformers and ResourceResolvers in common use cases:
Referenced from: commits 95e9b38
Guillaume DROUET commented
when I configure the registry, I don't see why we must always call addResourceLocations(). By default this method is helpful to find resources but we should be able to fully delegate this task to the ResourceHandler. So I think we should relax this rule by checking if at least one ResourceResolver has been added before throwing an IAE.
What do you think?