Require subquery to implicitly copy class within query
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
This issue has not been assessed yet.
Description
Currently, a source class is implicitly copied when it is referenced, but no explicit mapping exists. Example:
from Restaurant create {
it.sells
}
The query copies the sells reference which references the Food class. Given that the Food class is not explicitly created elsewhere, it is implicitly copied from the source model including all features and possibly recursively.
The proposed change is to require an explicit subquery in this case:
from Restaurant create {
it.sells create Food
}
Note that this does not affect the recursive nature of the copy. So in case Food contains a reference to another class which is not created explicitly, it is still copied implicitly and recursively.
Pro:
- more explicit when classes are created
Contra:
- requires writing the class name because
it.sells createis not allowed within the grammar because it would lead to ambiguous parsing
- Dominant language
- Java
- Stars
- 3
- Forks
- 6
- Avg merge
- 19h 10m
- Merged PRs (30d)
- 34
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vitruv-tools/NeoJoin
-
area: cli
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vitruv-tools/NeoJoin#415 ·
Maintainers usually reply within 1 day
-
area: language
Difficulty 5/5 Over a week Newbie friendliness 18/100
vitruv-tools/NeoJoin#416 ·
Maintainers usually reply within 1 day
-
area: language status: needs discussion
Difficulty 5/5 Over a week Newbie friendliness 25/100
vitruv-tools/NeoJoin#409 ·
Maintainers usually reply within 1 day
-
area: language
Difficulty 4/5 3-5 days Newbie friendliness 48/100
vitruv-tools/NeoJoin#401 ·
Maintainers usually reply within 1 day
-
Complete JavaDocOpenarea: docs
Difficulty 5/5 Over a week Newbie friendliness 35/100
vitruv-tools/NeoJoin#395 ·
Maintainers usually reply within 1 day
All issues in vitruv-tools/NeoJoin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
speakeasy-api/speakeasy#2159 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
jenkinsci/user-guide-ai-chatbot-plugin#132 ·
Maintainers usually reply within 6 days
-
account assessment course feature lecture
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
bug db/dameng user-priority/P2
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
docs: document identity-provider types compatibility for Keycloak 26.5+Possibly taken @Motouom claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
adorsys/keycloak-config-cli#1766 ·
Maintainers usually reply within 12 days