-
Notifications
You must be signed in to change notification settings - Fork 3
Description
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:pacemeta-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.
- Drop the dependency on the datomic-schema package.
-
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 topsuedoace.schemata, rework to not use datomic-schema -
Re-format all existing schema in
/generated-schemas -
Move
/generated-schemasto resourcecs/schema, and just store the one version (current) of the schema. historical schema versions withgit 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.