-
Notifications
You must be signed in to change notification settings - Fork 296
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
Promote reflection APIs from experimental to V1 schema service #2249
Conversation
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.
See comments - I think there was an unintended elision. Will approve after.
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.
This is a copy-paste of the existing code?
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.
Yep and modified to remove prefixes
internal/services/v1/schema.go
Outdated
"github.com/authzed/spicedb/pkg/zedtoken" | ||
) | ||
|
||
// NewSchemaServer creates a SchemaServiceServer instance. | ||
func NewSchemaServer(additiveOnly bool, expiringRelsEnabled bool) v1.SchemaServiceServer { | ||
func NewSchemaServer(additiveOnly bool, iringRelsEnabled bool) v1.SchemaServiceServer { |
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.
Unintentional?
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.
Yep. Fixed
The existing experimental code and tests is copied over and adjusted to run with the new message types under the schema service Once released, we'll deprecate the experimental versions and eventually delete the code
4bfaf94
to
146f00c
Compare
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
No description provided.