Rename 'interfaces' to 'capabilities' in TypeQL reference#1060
Open
alexjpwalker wants to merge 1 commit into
Open
Rename 'interfaces' to 'capabilities' in TypeQL reference#1060alexjpwalker wants to merge 1 commit into
alexjpwalker wants to merge 1 commit into
Conversation
✅ Deploy Preview for typedb-docs-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
alexjpwalker
marked this pull request as ready for review
July 8, 2026 13:36
|
|
||
| [NOTE] | ||
| ==== | ||
| Throughout the Academy we use the term *interface*, borrowed from object-oriented programming, to describe how one type connects to another. If you spend time in the xref:{page-version}@typeql-reference::index.adoc[TypeQL reference], you'll see these same constructs called *capabilities*. The two terms refer to the same thing — we favour "interface" here because it makes the modeling concepts easier to reason about. |
Member
There was a problem hiding this comment.
I think here you could formally define 'interface' as the things that can be 'owned' or 'played' (eg. role and attribute types provide interfaces). Capabilities more generally encompass 'plays', 'relates', and 'owns' that are defined on a type, as is a more generally useful term while describing schemas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal
As part of an overall goal of making TypeQL reference more accessible by using simpler English, we would like to make a clean break from the terminology "interface" (borrowed from OOP), in favour of "capability": while still not being the simplest English word ever, it at least very clearly describes the thing it is talking about without requiring technical knowledge of OOP principles.
Implementation
NOTE: We maintain the term "interface" in TypeDB Academy, which intentionally is more academic and founded strictly on the PERA model, while we would like our mainline docs to be more generally accessible. We add a disclaimer to the Academy noting this discrepancy. This also minimises the delta of this PR.