cloudcreativity / json-api

Framework agnostic JSON API serialisation and deserialisation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RelationshipsValidator does not observe allowed keys

lindyhopchris opened this issue · comments

Currently RelationshipsValidator does not use isAllowedKey in the protected checkKey method. This is a bug because the decision of whether a key should be accepted should be down to whether it is allowed, not whether there is a validator for it (the current situation).