Skip to content

Support collection record id as string #237

@michaeljymsgutierrez

Description

@michaeljymsgutierrez

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.

Metadata

Metadata

Labels

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions