Skip to content

Commit

Permalink
feat: remove deprecated field
Browse files Browse the repository at this point in the history
  • Loading branch information
ksavosteev committed Jan 17, 2025
1 parent 980f4f3 commit a85f480
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions src/VirtoCommerce.Xapi.Core/Schemas/DynamicPropertyType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ public DynamicPropertyType(IMediator mediator)
return context.Source.DisplayNames.FirstOrDefault(x => culture.IsNullOrEmpty() || x.Locale.EqualsInvariant(culture))?.Name;
});
Field(x => x.DisplayOrder, nullable: true).Description("The order for the dynamic property to display");
Field<NonNullGraphType<StringGraphType>>(nameof(DynamicProperty.ValueType))
.Description("Value type")
.DeprecationReason("Use dynamicPropertyValueType instead")
.Resolve(context => context.Source.ValueType.ToString());
Field<NonNullGraphType<DynamicPropertyValueTypeEnum>>("dynamicPropertyValueType")
.Description("Value type")
.Resolve(context => context.Source.ValueType);
Expand Down
5 changes: 0 additions & 5 deletions src/VirtoCommerce.Xapi.Core/Schemas/StoreSettingsType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ public class StoreSettingsType : ExtendableGraphType<StoreSettings>
{
public StoreSettingsType()
{
#pragma warning disable VC0009
Field(x => x.QuotesEnabled).Description("Quotes enabled").DeprecationReason("Use Quotes.EnableQuotes public property instead.");
Field(x => x.SubscriptionEnabled).Description("Subscription enabled").DeprecationReason("Use Subscription.EnableSubscriptions public property instead.");
Field(x => x.IsSpa).Description("SPA").DeprecationReason("Client application should use own business logic for SPA detection.");
#pragma warning restore VC0009
Field(x => x.TaxCalculationEnabled).Description("Tax calculation enabled");
Field(x => x.AnonymousUsersAllowed).Description("Allow anonymous users to visit the store ");
Field(x => x.EmailVerificationEnabled).Description("Email address verification enabled");
Expand Down

0 comments on commit a85f480

Please sign in to comment.