Skip to content

Validating fabric item name change #262

@ernestjessee

Description

@ernestjessee

Workload Manifest Schema Version (if relevant)

No response

Your Question

Users of our workload may rename assets using the settings ui. Because of the way we process our assets, we need to validate the name that the user enters. For example, we do not allow names to begin with a number. When we get the update request and the name is invalid, we are returning a statusCode of 400 (bad Request). I have also tried to return 406 (unacceptable). In either case, the Fabric UI continues to show the invalid name.

How can we reject the name change and have the UI revert? Is there a way to validate the name change in the client?

Context / Background

No response

Additional References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions