Skip to content

Simplify variant IDs approach #153

@jdacoello

Description

@jdacoello

Background

Currently, the names of the elements in the GraphQL schema are used as the basis for the identification approach. From them, these identifiers are derived:

Concept URIs

Types and their fields of a given schema, like:

type Window {
  position: Int
}

Result in concept URIs

  • ns:Window - The glassed element mounted in the door...
  • ns:Window.position - The position of the window relative to a particular axis...

Variant IDs

They represent the realization or incarnation of the concepts with concrete metadata. For example:
ns:Window.position having an output type Int.

Currently, these IDs are the result of a hash function that gives unique identifiers which are contructed from the metadata. They are however not human readable. Their maintenance and evolution is not too obvious.

Request

Change the approach that assigns the variant IDs to be a simple sequential counter, which will facilitate the maintenance and traceability.

Example

Image Image Image Image

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions