Closed svaningelgem closed 5 years ago
Hi @svaningelgem, I took a look to this:
getParameters
method makes no sense, because exactly the same override can be done without doing thisThanks for your contribution
I also added a few methods to allow users to override the cache layer (see daf5ec471871ba845781792ae97020f36e041c2f)
Right now there is 'huge' switch statement around line 500. The best would be to split this off and call this. Much like this:
The advantage of this is that you could override the getResourcesForType() in your own class much like this:
As such you could override/implement your own behaviours.
Then additionally we also need to override when you get a 200 back:
both could henceforth be able to overridden in sub-classes.