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

docs: Document client Description types #1307

Merged
merged 15 commits into from
Apr 6, 2023

Conversation

AndrewSisley
Copy link
Contributor

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.

@AndrewSisley AndrewSisley added documentation Improvements or additions to documentation area/api Related to the external API component labels Apr 6, 2023
@AndrewSisley AndrewSisley added this to the DefraDB v0.5 milestone Apr 6, 2023
@AndrewSisley AndrewSisley requested a review from a team April 6, 2023 19:15
@AndrewSisley AndrewSisley self-assigned this Apr 6, 2023
Copy link
Collaborator

@fredcarle fredcarle left a 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.

ID uint32
// Name contains the name of the collection.
//
// It is conceptually local to node hosting the DefraDB instance, but currently there
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// 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

Copy link
Contributor Author

@AndrewSisley AndrewSisley Apr 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cheers 😁

  • add missing 'the'

@source-devs
Copy link

Benchmark Results

Summary

  • 0 Benchmarks successfully compared.
  • 0 Benchmarks were ✅ Better.
  • 0 Benchmarks were ❌ Worse .
  • 0 Benchmarks were ✨ Unchanged.
✅ See Better Results...
time/opdelta
 
❌ See Worse Results...
time/opdelta
 
✨ See Unchanged Results...
time/opdelta
 
🐋 See Full Results...

@AndrewSisley AndrewSisley added the action/no-benchmark Skips the action that runs the benchmark. label Apr 6, 2023
@AndrewSisley AndrewSisley merged commit 432c313 into develop Apr 6, 2023
@AndrewSisley AndrewSisley deleted the sisley/docs/I1306-client-desc-docs branch April 6, 2023 19:50
shahzadlone pushed a commit that referenced this pull request Apr 13, 2023
* 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.
shahzadlone pushed a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/no-benchmark Skips the action that runs the benchmark. area/api Related to the external API component documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document the client description types
3 participants