Conversation
text/0000-add-hyperlinks.md
Outdated
There was a problem hiding this comment.
I'm not sure, what does "resolvable" in this context mean?
Move compact to its own repo: refractproject/rfcs#17 Remove namespacing: refractproject/rfcs#22
|
@smizell this is draft is HUGE in its scope. Please let me break it down for having a better grasp on the problem. Of what this draft has to offer:
For the simplicity and speed I would like to ask you for following:
Furthermore I would like to see a synergy with the As for removing namespaces – I am very much up for it, I would leave up to you and @netmilk to consider if this is something you want to get in to as part of current operations. Note Data Structure namespace depends on current base spec But again I would prefer to have this (removing namespaces and using |
|
@zdne Sorry for the confusion. I did not want to propose those changes in this RFC, but simply make them known so we can think ahead while thinking short term. Would hate to make the wrong decision for being shortsighted. Please simply keep those two additional ideas (embedding and removing namespacing) in the back of your mind as we proceed. Regarding synthesizing with the Transition Element, could you explain this a little more? Are you meaning for this proposal to use a Transition Element instead of an array of objects with This is out of scope of this RFC, but I did want to add a note.
I have started a preliminary branch for all of these changes. We would not remove |
Ideally I would love the same thing be called the same. (rel vs relation) |
text/0000-add-hyperlinks.md
Outdated
There was a problem hiding this comment.
The point of this is? You plan to use links for namespaces or what?
There was a problem hiding this comment.
I am removing this from the current RFC discussion, but some thoughts (feel free to continue questions/thoughts here).
The current usage and implementation of Refract completely ignore everything dealing with namespacing. In adding hyperlinking, we can link to a profile that defines the usage for a given structure, which is what we're currently doing.
To actually make namespacing work, we will need to defined way to not only define namespaces (which we don't have nor will we have for a long while) but also a way to compare a given namespace with the actual data. Lots of work here to do before this could ever be supported.
Because there are no implementations or specifications even using this, and because this would require a great deal of work, and because this is a pre-1.0.0 version of things, we need to remove any cruft we can, and therefore we are thinking to remove namespacing.
What are your thoughts?
|
I have changed the link per the idea of @zdne. Basically, instead of a normal object, I am using a special Link Element that can be used as the basis for the Transition element. Also, this opens the way for embedding responses through existing things in the API Description format. We'll leave that discussion until later, but in using an element, we provide a way for this to be extended very easily to either use |
|
Note that I also opened a PR for these changes in the spec repository. If things look OK with this, we can move to discussing changing the spec, which hopefully that PR will do. |
|
👍 merging |
This adds the RFC for adding hyperlinking into the base Refract specification.