-
Notifications
You must be signed in to change notification settings - Fork 1
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
Metadata info protobuf format support #8
Conversation
this.Metadata = metadata; | ||
this.MetadataInfos = metadataInfos; |
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.
CC: @bachdavi - we were wondering if we should simply replace / delete the old json format, rather than supplying clients with both?
Or maybe we want one version where it's marked deprecated and then another released version after that that deletes it, so that customers can use the in-between version to more easily migrate?
@@ -0,0 +1,160 @@ | |||
syntax = "proto3"; |
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.
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.
Can you update the readme to include the fact that you need to install protobuf?
This doesn't seem to work as the accept header doesn't seem to be getting passed through. I added some log statements to the example:
|
checking ... 👀 EDITED: I just double checked things seem to work my side
btw I need to rename |
|
It seems to be removing the |
I tried again this morning and it's still not working for me. |
|
||
public class TransactionAsyncResult : Entity | ||
{ | ||
public TransactionAsyncCompactResponse Transaction { get; set; } | ||
public List<ArrowRelation> Results { get; set; } | ||
public List<TransactionAsyncMetadataResponse> Metadata { get; set; } | ||
public MetadataInfo Metadata { get; set; } | ||
public List<object> Problems { get; set; } |
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.
Let's follow this up with a PR similar to RelationalAI/rai-sdk-java#16, introducing GotCompleteResult
Should we have the |
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.
There are lots of warnings about closing braces on the Github diff. Should we address these? If not, where are they coming from?
I remember we discussed this with the team at some point and It seems like we need to live with the local dependency on proto specificaiton until we figure out how to centralize it 🙏 |
I don't really remember setting up something for csharp linting but indeed we need to do so |
@larf311, agreed. There's an issue for it here: https://github.com/RelationalAI/rai-sdk-issues/issues/62 EDIT: Yeah, what Helmi said. 👍 |
if no other updates are required, I'll merge by the end of the day thank you |
This PR adds support to the metadata info protobuf format.