Skip to content

Store generated schema as raw datomic schema in EDN #65

Open
@mgrbyte

Description

@mgrbyte

This will remove a level of abstraction that isn't really necessary.
The idea is to consolidate the notion of schema in pseudoace, in both code and
data terms.

  • I propose the following changes:

    • Drop the dependency on the datomic-schema package.
      This is the lib that produces the format of the files currently stored in /generated-schemas
      It provides a level of abstraction that isn't necessary, and seems to hide/distract from the :pace meta-schema. The package also has some issues, which whilst not insurmountable, would need to keep up with changes in datomic itself - i think it's better to just to go with the raw schema.
  • In the existing namespaces:
    pseudoace.schemata
    - Make all the schemas def'd here into EDN files
    - Keep the install function (as the logic is required), but change to read EDN files.
    pseudoace.schema-datomic (remove)
    - Move all functions here to psuedoace.schemata, rework to not use datomic-schema

  • Re-format all existing schema in /generated-schemas

  • Move /generated-schemas to resourcecs/schema, and just store the one version (current) of the schema. historical schema versions with git diff. (tentative this last one)

Once all this is done, then there will be no need for resolve-xref-info function that I've previously provided, as the information will then be able to be directly inferred from the schema.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions