We have been attempting to use racer with ShareDb and wish to use URL identifiers for our models so they can be represented as JSON-LD compatible data models.
We ran into some challenges when attempting to use the at() or scope() functions to access these documents. Note: they appear to get created without issue.
After some digging I identified the problem in the _splitPath function see
|
Model.prototype._splitPath = function(subpath) { |
Currently this splits on "." so all URL identifier will cause 3 items to be placed in the list instead of the expected two causing an error to be thrown.
Is it possible to only look for and split on the first "." in the string?