-
Notifications
You must be signed in to change notification settings - Fork 44
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
docs: Document client Description types #1307
Conversation
I am refraining from talking about immutability and local-global here, as that is a messy topic for which IMO we cannot clearly and definatively state our long-term plans.
Litterally nothing references this, and as it is public I think we should remove it
It looks out of date, and is either way untidy for us and for users.
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.
LGTM. Just one change needed I think.
client/descriptions.go
Outdated
ID uint32 | ||
// Name contains the name of the collection. | ||
// | ||
// It is conceptually local to node hosting the DefraDB instance, but currently there |
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.
// It is conceptually local to node hosting the DefraDB instance, but currently there | |
// It is conceptually local to the node hosting the DefraDB instance, but currently there |
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.
cheers 😁
- add missing 'the'
Benchmark ResultsSummary
✅ See Better Results...
❌ See Worse Results...
✨ See Unchanged Results...
🐋 See Full Results... |
* Document CollectionDescription.Name * Document CollectionDescription.ID * Document CollectionDescription.Schema I am refraining from talking about immutability and local-global here, as that is a messy topic for which IMO we cannot clearly and definatively state our long-term plans. * Remove unused IndexDescription type Litterally nothing references this, and as it is public I think we should remove it * Document SchemaDescription.Name * Document SchemaDescription.Fields * Document FieldDescription.Name * Document FieldDescription.ID * Expand FieldDescription.Kind documentation * Document FieldDescription.Schema * Document FieldDescription.RelationName * Expand documentation for FieldDescription.Typ * Document FieldDescription.RelationType * Remove out of date comment It looks out of date, and is either way untidy for us and for users.
* Document CollectionDescription.Name * Document CollectionDescription.ID * Document CollectionDescription.Schema I am refraining from talking about immutability and local-global here, as that is a messy topic for which IMO we cannot clearly and definatively state our long-term plans. * Remove unused IndexDescription type Litterally nothing references this, and as it is public I think we should remove it * Document SchemaDescription.Name * Document SchemaDescription.Fields * Document FieldDescription.Name * Document FieldDescription.ID * Expand FieldDescription.Kind documentation * Document FieldDescription.Schema * Document FieldDescription.RelationName * Expand documentation for FieldDescription.Typ * Document FieldDescription.RelationType * Remove out of date comment It looks out of date, and is either way untidy for us and for users.
Relevant issue(s)
Resolves #1306
Description
Documents the client Description types and removes some dead code.
Following this PR the only real other totally undocumented stuff in client is the Document related stuff, and that is quite dirty and in need of a rework I think soon anyway, I also see it as less important at the moment, so I wont go over it for 0.5.