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

introspection: review comments. #1

Conversation

raulk
Copy link

@raulk raulk commented Feb 3, 2020

  • Enhance godocs.
  • Move protobuf to subpackage.
  • Change structure and names of data provider functions.
  • Fine-tune names of introspect.Introspector methods.
  • Re-add the Streams data provider.

@raulk raulk requested a review from aarshkshah1992 February 3, 2020 15:43
introspect/doc.go Outdated Show resolved Hide resolved
}

type ConnectionQueryParams struct {
Output QueryOutput
Copy link
Owner

Choose a reason for hiding this comment

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

@raulk This struct is not enough to represent all the params of a connection query.

How would you specify whether you want ONLY Ids vs full objects for the Streams in the connection ? The Output field here specifies whether we want full connection objects vs connection Ids. But, what about the streams ?

StreamOutputType QueryOutputType
ConnIDs []ConnID
type StreamQueryParams struct {
Output QueryOutput
Copy link
Owner

Choose a reason for hiding this comment

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

How would you specify whether you want just the Connection Ids or the full connection objects in the output ?

@aarshkshah1992 aarshkshah1992 merged commit 5bb9068 into aarshkshah1992:feat/introspection-changes Feb 5, 2020
@raulk raulk deleted the feat/introspection-changes-review branch February 10, 2020 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants