Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Differing entity namespace for some fields #2

Open
p14n opened this issue Mar 13, 2019 · 1 comment
Open

Differing entity namespace for some fields #2

p14n opened this issue Mar 13, 2019 · 1 comment

Comments

@p14n
Copy link

p14n commented Mar 13, 2019

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!

@madvas
Copy link

madvas commented May 8, 2020

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants