crnk-project / crnk-framework

JSON API library for Java
Apache License 2.0
287 stars 156 forks source link

attribute X not found #791

Open vicmosin opened 3 years ago

vicmosin commented 3 years ago

After migration to 3.3.20200920055408 each POST/PATCH request with unknown attribute fails with this error even with

crnk.allow-unknown-parameters=true
crnk.allow-unknown-attributes=true

According to code, it fails here. I don't really understand the meaning of isClient(), since it's always false..

@remmeier Could you maybe provide more info, what was the idea or reason for that? Since now it's kinda broken change to us..

remmeier commented 3 years ago

the two flags above so far have only been implemented for the QuerySpecUrlMapper, so naming of the flags is very suboptimal. If more general support is desired, maybe it would be useful to add it in ResourceInformation/JsonApiResource