-
Notifications
You must be signed in to change notification settings - Fork 73
Review TypeQL reference to ensure it is up to date #980
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
Changes from 10 commits
ea54a07
974d5d6
0697d5d
3e67df5
5906282
9e19286
d1be311
3345566
eb21986
0d50539
00d865f
97a83df
13f8cea
662c1f5
67d1495
4c0d425
2550362
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -20,8 +20,7 @@ The `@abstract` annotation does not accept any arguments. | |||||
|
|
||||||
| // tag::description[] | ||||||
| When defined for a type, the `@abstract` annotation enforces the `abstract` constraint, making the type abstract. | ||||||
| An abstract type cannot be a direct type for an instance. | ||||||
| Thus, a concrete subtype is required for instances creation, and an abstract type can be used as a query target to retrieve information about its subtypes. | ||||||
| An abstract type cannot be instantiated. but can be used in a query (e.g. in an `isa` constraint to refer to all its subtypes). | ||||||
|
||||||
| An abstract type cannot be instantiated. but can be used in a query (e.g. in an `isa` constraint to refer to all its subtypes). | |
| An abstract type cannot be instantiated, but can be used in a query (e.g., in an `isa` constraint to refer to all its supertypes). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Subtypes, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"in a constraint to refer to all its subtypes" is wrong, you don't refer to subtypes of anything through isa. If you want your idea of referencing abstract types through concrete subtypes to be expressed, we need to find another sentence
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least fix the , / .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reworked. Check again pls?
Uh oh!
There was an error while loading. Please reload this page.