Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • cwclientlibjs cwclientlibjs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • open-source
  • cwclientlibjscwclientlibjs
  • Issues
  • #7
Closed
Open
Issue created Feb 24, 2021 by Frank Bessou@fbessou🕸Maintainer

Allow strong typing of the schema and make it instance independent

Currently, the schema type definition is loosely typed and each part of the schema (etype/attribute/relation schema) contains several eids. I think that we should "standardize" the way the schema is represented in ts/js. This single representation should be supported by the following tools:

  • cwclientlibjs
  • cubicweb-tsgen
  • rqlcontroller schema's holder
  • cwelements
  • rqlbrowser
  • ra-cubicweb

I think that the Schema type definition and its associated utils should be located in cwclientlibjs.

Edited Feb 24, 2021 by Frank Bessou
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking