Constructs a resource record for given graph node and query.
Returns the last path segment, which is usually an ID.
If it's a non-NaN numeric ID (true for most Foxy resources) then a number
is returned.
Otherwise returns a string or null
if the path is empty.
self
link on a resource, e.g. https://api.foxy.io/stores/123
resource ID or null
if not found
Generated using TypeDoc
Constructs a resource record for given graph node and query.