Skip to content

Differing entity namespace for some fields #2

Open
@p14n

Description

With this schema:

^{:lacinia/tag-recursive true :datomic/tag-recursive true}
    Dentist [
       ^ID id
       ^Address primaryAddress
       ^Boolean doesImplants]

^{:lacinia/tag-recursive true :datomic/tag-recursive true}
    Doctor [
       ^ID id
       ^Address primaryAddress
       ^Boolean generalPractitioner]

a datomic schema will be generated containing :dentist/id, :dentist/primaryAddress, :doctor/id and :doctor/primaryAddress. It might make more sense to model this as :practitioner/id and :practioner/primaryAddress. Would you be open to a PR or do you see issues with this approach or a workaround?

Thanks for Hodur!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions