Skip to content

Conversation

@murphymcquet-msft
Copy link
Contributor

No description provided.

@RyanToth3
Copy link
Member

Let's hold off on checking this in until we're sure we've got this scenario working

/// A <see cref="ServiceJsonRpcDescriptor"/> derived type that applies camelCase naming transforms to method and event names
/// and trims off any trailing "Async" suffix.
/// </summary>
public class CamelCaseTransformingDescriptor : ServiceJsonRpcDescriptor
Copy link
Member

Choose a reason for hiding this comment

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

Something to consider: camel case transformation is just one aspect of a descriptor. And one cannot mix and match derived types to get one descriptor with all the behaviors one wants. This is why ServiceJsonRpcDescriptor has several options within itself.
Consider making camel case behavior a separate class or utility that can be added into a descriptor instance, in a way that supports mixing in other options.

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