We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20a9022 commit 72d7643Copy full SHA for 72d7643
src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/ProfileSchema.cs
@@ -10,6 +10,7 @@
10
using Microsoft.AspNetCore.Authorization;
11
using Microsoft.AspNetCore.Identity;
12
using Microsoft.Extensions.Logging;
13
+using VirtoCommerce.CoreModule.Core.Common;
14
using VirtoCommerce.Platform.Core.Security;
15
using VirtoCommerce.Platform.Security.Authorization;
16
using VirtoCommerce.Platform.Security.Extensions;
@@ -61,6 +62,9 @@ public ProfileSchema(
61
62
63
public void Build(ISchema schema)
64
{
65
+ // Value converters
66
+ ValueConverter.Register<int, AddressType>(x => (AddressType)x);
67
+
68
//Queries
69
70
schema.Query.AddField(new FieldType
0 commit comments