KatsuteDev/Mal4J

Disable `PATCH` methods on unsupported Android runtimes

Katsute opened this issue · 1 comments

Prerequisites

  • I have checked that no other similar feature request already exists.
  • This feature request makes sense for the project.
  • I have checked that this feature does not already exist.
  • I am running the latest release version.

Feature

Instead of throwing an exception when the methods field is not found, instead log a warning that PATCH methods can not be used.

Reason

If devs aren't using the PATCH methods, there is no reason to prevent them from using the rest of the library. This change will allow unsupported Android runtimes to use most features.

Related: #154, #184, #192, #193

@Sinon-bot branch android patch