Skip to content

Commit

Permalink
fix: enum type
Browse files Browse the repository at this point in the history
  • Loading branch information
ksavosteev committed Jan 8, 2025
1 parent 6fc3caf commit 1b612ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VirtoCommerce.Xapi.Core/Schemas/DynamicPropertyType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public DynamicPropertyType(IMediator mediator)
.Resolve(context => context.Source.ValueType.ToString());
Field<NonNullGraphType<DynamicPropertyValueTypeEnum>>("dynamicPropertyValueType")
.Description("Value type")
.Resolve(context => context.Source.ValueType.ToString());
.Resolve(context => context.Source.ValueType);

Field<NonNullGraphType<BooleanGraphType>>("isArray").Resolve(context => context.Source.IsArray).Description("Is dynamic property value an array");
Field<NonNullGraphType<BooleanGraphType>>("isDictionary").Resolve(context => context.Source.IsDictionary).Description("Is dynamic property value a dictionary");
Expand Down

0 comments on commit 1b612ef

Please sign in to comment.