Skip to content

ToggleFeaturesAsync is obsolete but replacement method is internal #761

@mattbrailsford

Description

@mattbrailsford

Which component is this issue related to?

Umbraco Commerce (Core)

Which Umbraco Commerce version are you using? (Please write the exact version, example: 10.1.0)

16.3.1

Bug summary

When using ToggleFeaturesAsync(bool, bool, bool, bool) this shows a obsoletion method to use PaymentMethodToggleFeatureInput

  1. It should be PaymentMethodToggleFeatures
  2. All setters in PaymentMethodToggleFeatures are internal and so are unusable by developers

Specifics

No response

Steps to reproduce

Trying using ToggleFeaturesAsync and see the obsolete message.

Expected result / actual result

The obsolete message should link to the correct type name and the PaymentMethodToggleFeatures object should have public setters.

Dependencies

No response


This item has been added to our backlog AB#57023

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions