Closed holtkamp closed 5 years ago
Hi @holtkamp,
The only purpose of the id field being private without any getter/setter is that I didn't have any meaningful use-case in mind for accessing it.
Would it be OK for you if I added the id()
, type()
, attributes()
and relationships()
accessors as well as the setId()
and setType()
mutators?
Currently the ResourceObject.id property is private and can therefore not be accessed once the object is instantiated. Is this on purpose?
Rationale I would like to be to access it, so the id can be used to (dynamically) generate a DELETE request like:
Something like:
Maybe the ResourceObject.id should not be accessed, that is possible, but in that case I would like to know "why" 😄