Skip to content

Commit

Permalink
fix: add missed trimmer annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-sunset committed Sep 27, 2024
1 parent ac88382 commit f82b555
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PineconeClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ public async Task<Index<TTransport>> GetIndex<
}

#if !NET7_0_OR_GREATER
internal static T CreateTransport<T>(string host, string apiKey, ILoggerFactory? loggerFactory)
internal static T CreateTransport<
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] T>(string host, string apiKey, ILoggerFactory? loggerFactory)
{
if (typeof(T) == typeof(GrpcTransport))
{
Expand Down

0 comments on commit f82b555

Please sign in to comment.