Currently collection record ID only support id type integer and it doesn't work with type string which can cause to break the application. For some instances there are APIs that has id as string instead of integer.
On the current state of ARM, it partially support the id string. To fully support it, the ARM.createRecord should also support string id to determine when to use POST or PATCH when dealing with collection records that came from the server and locally instantiated.
Currently collection record ID only support
idtypeintegerand it doesn't work with typestringwhich can cause to break the application. For some instances there are APIs that has id as string instead of integer.On the current state of ARM, it partially support the id string. To fully support it, the ARM.createRecord should also support string id to determine when to use POST or PATCH when dealing with collection records that came from the server and locally instantiated.