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

Update RpcFunctionMetadata with more properties #57

Closed
wants to merge 2 commits into from

Conversation

anandagopal6
Copy link
Contributor

Host needs RetryOptions and configuration source information to populate FunctionMetadata, so two more properties have been added to RpcFunctionMetadata to convey this information.

Some clarifying comments have also been added to RpcFunctionMetadata that specify what the attributes are supposed to contain.

Add two more properties relating to function metadata to the protobuf, along with some clarifying comments that specify what the attributes are supposed to contian.
repeated string raw_bindings = 10;

// Retry Options: string representation of JObject retry options (maxRetryCount, intervals, etc.)
string retry_options = 11;
Copy link
Member

Choose a reason for hiding this comment

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

string retry_options = 11;

// Configuration Source: string representation of JToken configuration source property in function metadata
string config_source = 12;
Copy link
Member

Choose a reason for hiding this comment

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

can you provide an example of how this would look like? it is better to declare first class messages for complex types to avoid string parsing on both ends

Copy link
Member

@pragnagopa pragnagopa left a comment

Choose a reason for hiding this comment

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

Please define new messages

@pragnagopa
Copy link
Member

Retry Options are addressed in PRs

for configuration source - I do not have a much context - @soninaren might

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.

3 participants