laminas-api-tools / api-tools-admin

Laminas API Tools Admin module
https://api-tools.getlaminas.org/documentation
BSD 3-Clause "New" or "Revised" License
13 stars 21 forks source link

fixing wrong input filter selection #97

Closed ppaulis closed 9 months ago

ppaulis commented 9 months ago
Q A
Documentation no
Bugfix yes
BC Break no
New Feature no
RFC no
QA no

Description

This PR fixes wrong input filters for RPC calls. Currently, in 2.1.0 it isn't possible to create a new RPC service, as described in https://github.com/laminas-api-tools/api-tools-admin/issues/81

Currently, PATCH Input filters are applied to RPC Post calls in certain cases.

ppaulis commented 9 months ago

@Ocramius @weierophinney Hi! When you have a minute to spare, could one of you take a look at this please? :-) This seems to be a simple copy/paste error, but prevents people currently from creating RPC services through the admin interface.

Thanks! best regards,

Xerkus commented 9 months ago

First introduced in 1.10.2 via https://github.com/laminas-api-tools/api-tools-admin/commit/19f4a9565292a0a594df4aff842f3583bf61a668#diff-9d8a0efd4da10600e826531479ee3b004713024b25fa385882beb27ca496f6f0R1797

Xerkus commented 9 months ago

Duplicate of #88