Skip to content

Commit

Permalink
fix: address conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
ksavosteev committed Jan 10, 2025
1 parent 20a9022 commit 72d7643
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using VirtoCommerce.CoreModule.Core.Common;
using VirtoCommerce.Platform.Core.Security;
using VirtoCommerce.Platform.Security.Authorization;
using VirtoCommerce.Platform.Security.Extensions;
Expand Down Expand Up @@ -61,6 +62,9 @@ public ProfileSchema(

public void Build(ISchema schema)
{
// Value converters
ValueConverter.Register<int, AddressType>(x => (AddressType)x);

//Queries

schema.Query.AddField(new FieldType
Expand Down

0 comments on commit 72d7643

Please sign in to comment.