Skip to content

Commit

Permalink
feat: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ksavosteev committed Dec 24, 2024
1 parent ae6a365 commit b7cb353
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace VirtoCommerce.Xapi.Core.Infrastructure
{
public class GraphQLUserContext : Dictionary<string, object> //, IProvideClaimsPrincipal
public class GraphQLUserContext : Dictionary<string, object>
{
public GraphQLUserContext(ClaimsPrincipal user)
{
Expand Down
4 changes: 2 additions & 2 deletions src/VirtoCommerce.Xapi.Web/Module.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ public void Initialize(IServiceCollection serviceCollection)
serviceCollection.AddApplicationInsightsTelemetryProcessor<IgnorePlainCoreXapiGraphQLTelemetryProcessor>();

#pragma warning disable CS0618 // Type or member is obsolete
// Use legacy type naming for backward compatibility
GlobalSwitches.UseLegacyTypeNaming = true;
#pragma warning restore CS0618 // Type or member is obsolete

//Register .NET GraphQL server
// Register .NET GraphQL server
serviceCollection.AddGraphQL(bulder =>
{
bulder
Expand Down Expand Up @@ -86,7 +87,6 @@ public void PostInitialize(IApplicationBuilder appBuilder)
{
var serviceProvider = appBuilder.ApplicationServices;

// disable web sockets/subscription for now
// this is required for websockets support
appBuilder.UseWebSockets();

Expand Down

0 comments on commit b7cb353

Please sign in to comment.