Ejemplo n.º 1
0
        internal static ValueTask <T> SendSimpleSubscription <T>(this IResolverContext context, T payload)
        {
            string subscriptionName = $"on{context.Field.Name.Value.ToPascalCase()}";

            return(context.SendSimpleSubscription(subscriptionName, payload));
        }