ecamp / ecamp/hal-json-vuex

Support relation keys with colons or other special symbols in them

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8
Forks
3
PR merge metrics
No merged PRs in 30d

Description

In HAL, curies are used as a mechanism to namespace relations. The namespace is prepended with a colon in front of the relation name, as can be seen in this example in traverson-hal: https://www.npmjs.com/package/traverson-hal#usage (they visit the relations `ht:me` and `ht:posts`).

Since we use relation names as identifiers, we currently do not support this kind of relation names. This issue is meant as a space to discuss the best way to implement this kind of relation namespacing.

Side note: I haven't checked, but `hal-json-normalizer` should already support this as far as I am aware, since it is only concerned with string keys in JSON.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.