Skip to content

Conversation

@paulomorgado
Copy link

  • Introduced SignalRMethodName property in MethodMetadata.cs to retrieve method names from HubMethodNameAttribute.
  • Modified HubConnectionExtensionsBinderTemplate.cs and MethodMetadataExtensions.cs to utilize the new SignalRMethodName for correct method registration and invocation.
  • Added TypedSignalR.Client.SourceGeneratorTests project to the solution to unit test the source generator.

Closes #270

- Introduced `SignalRMethodName` property in `MethodMetadata.cs` to retrieve method names from `HubMethodNameAttribute`.
- Modified `HubConnectionExtensionsBinderTemplate.cs` and `MethodMetadataExtensions.cs` to utilize the new `SignalRMethodName` for correct method registration and invocation.
- Added `TypedSignalR.Client.SourceGeneratorTests` project to the solution to unit test the source generator.
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.

Consider supporting HubMethodName in the Hub proxy generator

1 participant